:root {
    --primary-color: #4a90e2;
    --primary-hover: #357abd;
    --text-color: #2d3748;
    --text-secondary: #718096;
    --bg-color: #f7fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --success-color: #48bb78;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #63b3ed;
    --primary-hover: #4299e1;
    --text-color: #f7fafc;
    --text-secondary: #a0aec0;
    --bg-color: #1a202c;
    --card-bg: #2d3748;
    --border-color: #4a5568;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    padding-bottom: 100px;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Controls */
.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.header-content {
    flex: 1;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
}

.header-content:hover {
    transform: translateY(-2px);
}

.header-content:hover::before {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(102, 126, 234, 0.15));
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
}

.header-content:hover .title-icon {
    transform: rotate(360deg) scale(1.1);
}

[data-theme="dark"] .header-content:hover .title-icon {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.5));
}

.header-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 20px;
    z-index: -1;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.title-icon {
    width: 2.5rem;
    height: 2.5rem;
    fill: var(--primary-color);
    transition: var(--transition);
}

[data-theme="dark"] .title-icon {
    fill: #667eea;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
}

.title-text {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

[data-theme="dark"] .title-text {
    background: linear-gradient(135deg, #667eea, #a8c8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    transition: var(--transition);
    color: rgba(107, 114, 128, 0.9);
}

[data-theme="light"] .subtitle {
    color: rgba(107, 114, 128, 0.85);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .subtitle {
    color: rgba(229, 231, 235, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Fallback untuk browser tanpa data-theme */
@media (prefers-color-scheme: dark) {
    .subtitle {
        color: rgba(229, 231, 235, 0.85);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }
}

@media (prefers-color-scheme: light) {
    .subtitle {
        color: rgba(107, 114, 128, 0.85);
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    font-size: 1.2rem;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.theme-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px var(--shadow-color);
}

/* Theme toggle icon animation */
.theme-toggle i {
    transition: var(--transition);
}

.theme-toggle:hover i {
    transform: rotate(15deg);
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-container {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: var(--transition);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.datetime-group {
    margin-bottom: 1.5rem;
}

.datetime-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.datetime-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
    min-width: 0;
}

.datetime-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.datetime-button {
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.datetime-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--shadow-color);
}

/* Custom styling untuk input date dan time */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
    filter: invert(0);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    background-color: var(--primary-hover);
}

/* Dark mode adjustments for form inputs */
[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

[data-theme="dark"] input[type="color"] {
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
}

[data-theme="dark"] input[type="number"]::-webkit-outer-spin-button,
[data-theme="dark"] input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-theme="dark"] input[type="number"] {
    -moz-appearance: textfield;
}

/* Responsive design untuk datetime input */
@media (max-width: 480px) {
    .datetime-input-wrapper {
        flex-direction: column;
    }

    .datetime-input {
        width: 100%;
    }

    .datetime-button {
        width: 100%;
        height: auto;
        padding: 0.75rem;
    }
}

input[type="color"] {
    width: 100%;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-secondary);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.button-group button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.button-group button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.button-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.button-group button:hover::before {
    transform: translateX(100%);
}

.button-group button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.button-group button i {
    font-size: 1.1rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .button-group button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

[data-theme="dark"] .button-group button:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
    }
}

.preview-container,
.code-container {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: var(--transition);
}

/* Timer Styles */
.timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-family: 'Roboto Mono', monospace;
    padding: 2rem 0;
}

.timer-unit {
    text-align: center;
    transition: var(--transition);
}

.timer-value {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.timer-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Classic Style */
.timer.classic .timer-value {
    color: var(--primary-color);
}

/* Modern Boxed Style */
.timer.modern .timer-unit {
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow-color);
}

/* Digital Style */
.timer.digital {
    font-family: 'Roboto Mono', monospace;
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.timer.digital::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent);
    animation: scanline 2s linear infinite;
}

.timer.digital::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        transparent 75%,
        transparent
    );
    background-size: 10px 10px;
    opacity: 0.3;
    pointer-events: none;
}

.timer.digital .timer-unit {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer.digital .timer-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

.timer.digital .timer-value {
    color: var(--primary-color);
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.timer.digital .timer-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Preview Digital Style */
.style-preview.digital {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Roboto Mono', monospace;
    position: relative;
    overflow: hidden;
}

.style-preview.digital::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.05) 75%,
        transparent 75%,
        transparent
    );
    background-size: 10px 10px;
    opacity: 0.3;
}

.style-preview.digital .preview-number {
    color: var(--primary-color);
    text-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color);
    letter-spacing: 2px;
}

.style-preview.digital .preview-label {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .timer.digital {
    background-color: #0a0a0a;
}

[data-theme="dark"] .timer.digital .timer-unit {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Code Output */
.code-wrapper {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.5;
}

#copyCode {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background-color: var(--success-color);
}

#copyCode:hover {
    background-color: #38a169;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 1.5rem;
    }

    .timer {
        gap: 0.75rem;
    }

    .timer-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header-controls {
        flex-direction: column;
        text-align: center;
    }

    .header-controls {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .header-content {
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: none;
    }
    
    h1 {
         font-size: 2.2rem;
         letter-spacing: -0.5px;
         gap: 0.4rem;
     }
     
     .title-icon {
         width: 2rem;
         height: 2rem;
     }
     
     .subtitle {
          font-size: 1rem;
          line-height: 1.4;
          padding: 0 0.5rem;
      }
      
      [data-theme="light"] .subtitle {
          color: rgba(107, 114, 128, 0.9);
          text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
      }
      
      [data-theme="dark"] .subtitle {
          color: rgba(229, 231, 235, 0.9);
          text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
      }

    .theme-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .timer {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .timer-unit {
        flex: 1 1 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }

    .timer-value {
        font-size: 2rem;
    }

    .timer-label {
        font-size: 0.75rem;
    }

    .button-group {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Digital Style Responsive */
    .timer.digital {
        padding: 1.5rem;
    }

    .timer.digital .timer-value {
        font-size: 2.5rem;
    }

    .timer.digital .timer-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .form-container {
        padding: 1rem;
    }

    .timer-unit {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .timer-value {
        font-size: 1.75rem;
    }

    .timer-label {
        font-size: 0.7rem;
    }

    /* Digital Style Mobile */
    .timer.digital {
        padding: 1rem;
    }

    .timer.digital .timer-value {
        font-size: 2rem;
    }

    .timer.digital .timer-label {
        font-size: 0.7rem;
    }

    .style-options {
        flex-direction: column;
    }

    .style-option {
        width: 100%;
    }

    .duration-presets {
        flex-direction: column;
    }

    .duration-preset {
        width: 100%;
    }
    
    .footer {
        margin-top: 25px;
        padding: 12px 0;
        font-size: 11px;
        box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
    }
}

/* Footer Styles */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.footer p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Dark mode footer adjustments */
[data-theme="dark"] .footer p {
    color: #a0aec0;
}

/* Print Styles */
@media print {
    .container {
        padding: 0;
    }

    .form-container,
    .preview-container,
    .code-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .timer {
        break-inside: avoid;
    }

    .timer.digital {
        background-color: #fff;
        color: #000;
    }

    .timer.digital .timer-value {
        text-shadow: none;
    }

    .timer.digital::before,
    .timer.digital::after {
        display: none;
    }

    .footer {
        border-top: 1px solid #ddd;
        color: #666 !important;
    }
    
    .footer a {
        color: #333 !important;
    }
}

/* Footer Styles */
.footer {
    position: sticky;
    bottom: 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #666;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 100;
}

.footer p {
    margin: 0;
    line-height: 1.5;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Dark mode footer adjustments */
[data-theme="dark"] .footer {
    color: #a0aec0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    background-color: var(--bg-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-container,
.code-container {
    animation: fadeIn 0.5s ease-out;
}

/* Duration Input Styles */
.duration-group {
    margin-bottom: 1.5rem;
}

.duration-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.duration-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    padding: 0 1rem;
    transition: var(--transition);
}

.duration-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.duration-input input {
    flex: 1;
    border: none;
    padding: 0.75rem 0;
    background: none;
    color: var(--text-color);
    font-size: 1rem;
    width: 60px;
}

.duration-input input:focus {
    outline: none;
}

.duration-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.duration-presets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.duration-preset {
    padding: 0.5rem 1rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.duration-preset:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Style Options */
.style-group {
    margin-bottom: 1.5rem;
}

.style-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.style-option {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.style-option:hover {
    border-color: var(--primary-color);
}

.style-option input[type="radio"] {
    display: none;
}

.style-option input[type="radio"]:checked + .style-preview {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.style-preview {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.style-preview.classic {
    background-color: var(--card-bg);
}

.style-preview.modern {
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.style-preview.digital {
    background-color: var(--card-bg);
    font-family: 'Roboto Mono', monospace;
}

.preview-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.preview-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.style-option span {
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .style-options {
        flex-direction: column;
    }

    .style-option {
        width: 100%;
    }

    .duration-presets {
        justify-content: center;
    }
    
    .footer {
        margin-top: 30px;
        padding: 15px 0;
        font-size: 12px;
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    }
}