:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --bg: #f8fafc;
    --text: #1e293b;
    --card: #ffffff;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: var(--card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
}

button:hover {
    background-color: var(--primary-dark);
}

#result-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 12px;
}

.hidden {
    display: none;
}

#result-time {
    font-size: 3.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-dark);
}

#result-text {
    font-size: 1.2rem;
    margin: 0;
    color: #065f46;
}
