/* Shared CSS for all timezone pages */

/* Professional Western Style Design - Clean & Clear */
.timezone-background {
    background: #ffffff;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', sans-serif;
}

.main-clock {
    text-align: center;
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
    position: relative;
}

.page-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.clock-container {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 3rem;
    margin: 0 auto;
    max-width: 700px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.current-time-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0066cc;
    border-radius: 50%;
    margin-right: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.clock-display {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    margin: 1.5rem 0;
    letter-spacing: 2px;
    color: #1a1a1a;
    line-height: 1;
}

.date-display {
    font-size: 1.1rem;
    margin: 1rem 0;
    color: #666666;
    font-weight: 400;
    line-height: 1.4;
}

.timezone-info {
    font-size: 0.95rem;
    color: #0066cc;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Card Styles */
.utility-tools {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e5e5;
}

.section-title {
    color: #000000;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.time-difference-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.time-difference-table th,
.time-difference-table td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid #f5f5f5;
}

.time-difference-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.time-difference-table td {
    color: #333333;
    font-weight: 400;
}

.time-difference-table tr:hover td {
    background: #f8f9fa;
}

/* Status Indicators */
.countdown-display {
    font-size: 1.25rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin: 1rem 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.status-indicator {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    padding: 0.875rem;
    border-radius: 6px;
    margin: 1rem 0;
    border: 1px solid;
    transition: all 0.2s ease;
}

.market-open {
    background: #e3f2fd;
    color: #0066cc;
    border-color: #bbdefb;
}

.market-closed {
    background: #f8f9fa;
    color: #1a1a1a;
    border-color: #e5e5e5;
}

.market-pre-market {
    background: #fff8e1;
    color: #0066cc;
    border-color: #ffe082;
}

/* Form Elements */
.form-select {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.625rem 0.875rem;
    color: #374151;
    font-weight: 400;
    width: 100%;
    margin: 0.75rem 0;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    height: 44px;
}

.form-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Navigation */
.header {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-link {
    color: #666666;
    text-decoration: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333333;
    border-color: #e5e5e5;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0052a3;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #999999;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .clock-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .clock-display {
        font-size: 2.5rem;
    }
    
    .utility-tools {
        padding: 1.5rem;
        margin: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .clock-display {
        font-size: 2rem;
    }
    
    .main-clock {
        padding: 2rem 0;
    }
}