@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Merriweather+Sans:wght@300;400;600;700&display=swap');

body {
    font-family: 'Merriweather Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    position: relative;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    border: 2px solid #1B178D;
}

h1 {
    font-family: 'Special Elite', cursive;
    color: #1B178D;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.timer {
    font-family: 'Special Elite', cursive;
    font-size: 6rem;
    font-weight: 400;
    margin: 2rem 0;
    color: #1B178D;
    font-variant-numeric: tabular-nums;
}

.controls button {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background-color: #1B178D;
    color: white;
    border: 2px solid #1B178D;
    border-radius: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.controls button:hover {
    background-color: #ccccff;
    color: #1B178D;
}

#pause {
    background-color: #ccccff;
    color: #1B178D;
    border: 2px solid #1B178D;
    padding: 0.75rem 1rem;
}

#pause:hover {
    background-color: #1B178D;
    color: white;
}

#reset {
    background-color: #ccccff;
    color: #1B178D;
    border: 2px solid #1B178D;
}

#reset:hover {
    background-color: #1B178D;
    color: white;
}

#addFive {
    background-color: #ccccff;
    color: #1B178D;
    border: 2px solid #1B178D;
}

#addFive:hover {
    background-color: #1B178D;
    color: white;
}

#start {
    background-color: #ccccff;
    color: #1B178D;
    border: 2px solid #1B178D;
    padding: 0.75rem 1rem;
}

#start:hover {
    background-color: #1B178D;
    color: white;
}

#start i {
    font-size: 1rem;
    line-height: 1;
}

.status {
    font-family: 'Merriweather Sans', sans-serif;
    margin: 2rem 0 3rem 0;
    font-size: 1rem;
    color: #1B178D;
    font-weight: 300;
}

.mode-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

.mode-label {
    font-family: 'Merriweather Sans', sans-serif;
    color: #1B178D;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
}

.mode-button {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1.2rem;
    padding: 0.25rem;
    margin: 0;
    cursor: pointer;
    background-color: transparent;
    color: #1B178D;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mode-button:hover {
    background-color: rgba(204, 204, 255, 0.5);
    color: #1B178D;
}

#pause i {
    font-size: 1rem;
    line-height: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 23, 141, 0.2);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 2rem 3rem;
    border-radius: 2px;
    border: 2px solid #1B178D;
    max-width: 350px;
    width: 80%;
    text-align: center;
    position: relative;
    margin: auto;
}

.modal-content h2 {
    font-family: 'Special Elite', cursive;
    color: #1B178D;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-family: 'Merriweather Sans', sans-serif;
    color: #1B178D;
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

.modal-content input {
    width: 100%;
    padding: 0.75rem;
    margin: 1.5rem 0;
    border: 2px solid #1B178D;
    border-radius: 2px;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 1rem;
}

.modal-content button {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background-color: #1B178D;
    color: white;
    border: 2px solid #1B178D;
    border-radius: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content button:hover {
    background-color: #ccccff;
    color: #1B178D;
}

.focus-text {
    font-family: 'Merriweather Sans', sans-serif;
    color: #1B178D;
    font-size: 1.1rem;
    margin: -1rem 0 1rem 0;
    background-color: rgba(204, 204, 255, 0.3);
    border: 2px solid #1B178D;
    border-radius: 2px;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.focus-text:empty {
    display: none;
}

#focusModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#focusModal .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

#focusInput {
    width: 100%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#setFocusButton {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#setFocusButton:hover {
    background-color: #45a049;
}

#focusDisplay {
    font-size: 1.1em;
    color: #666;
    margin-top: 10px;
} 