* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0d1117;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #c9d1d9;
    padding: 20px;
}

.pomodoro-card {
    background: #161b22;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #30363d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subject-input {
    width: 100%;
    padding: 10px 12px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #f0f6fc;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
    outline: none;
}

.subject-input:focus {
    border-color: #58a6ff;
}

.mode-selector {
    display: flex;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.mode-btn {
    flex: 1;
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 6px 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn.active {
    background: #30363d;
    color: #f0f6fc;
    border-color: #8b949e;
}

/* Dairesel Sayaç Alanı (Kaymayı Önleyen Sabit Düzen) */
.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    flex-shrink: 0; /* Esnemeyi veya küçülmeyi engeller */
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-dasharray: 534;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s linear, stroke 0.3s ease;
    stroke-linecap: round;
}

/* Süre Yazısının Dairenin Tam Ortasına Kilitlenmesi */
.timer-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.status-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #7ee787;
    margin-bottom: 6px;
}

.status-badge.mola {
    color: #58a6ff;
}

.timer-display {
    font-size: 42px;
    font-weight: 700;
    color: #f0f6fc;
    font-family: 'SFMono-Regular', Consolas, monospace;
    line-height: 1;
}

.streak-counter {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 20px;
}

.btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
}

button.btn-start, button.btn-reset {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: white;
    transition: background 0.2s;
}

.btn-start { background-color: #238636; }
.btn-start:hover { background-color: #2ea043; }
.btn-start.working { background-color: #da3633; }

.btn-reset { background-color: #21262d; color: #c9d1d9; border: 1px solid #30363d; }
.btn-reset:hover { background-color: #30363d; }