* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #f8fafc;
    margin-bottom: 25px;
}

.card {
    background: #ffffff;
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card h2 {
    margin-top: 0;
    color: #1e3a8a;
    font-size: 18px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button:hover {
    opacity: 0.95;
}

.restart-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.progress-box {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 18px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

#progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width 0.4s ease;
}

#status {
    margin-top: 12px;
    font-weight: 600;
}

.reminder {
    background: linear-gradient(135deg, #ecfeff, #cffafe);
    border-left: 5px solid #06b6d4;
}
