/* Timezone Pages Styles */

/* Common Styles */
.timezones-page,
.timezone-page {
    background: #ffffff;
    min-height: 100vh;
}

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

/* Header */
.timezones-header,
.timezone-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0 60px;
    position: relative;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 0.6;
    font-size: 10px;
}

.page-title-section {
    text-align: center;
    margin-bottom: 32px;
}

.page-title {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 12px;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

/* Stats */
.timezone-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 4px;
    font-family: 'Google Sans', sans-serif;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* UTC Time Section */
.utc-time-section {
    padding: 40px 20px;
    background: #fafafa;
}

.utc-time-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.utc-label {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.utc-time {
    font-size: 64px;
    font-weight: 200;
    color: #1f2937;
    margin-bottom: 12px;
    font-family: 'Google Sans', sans-serif;
    letter-spacing: -2px;
}

.utc-date {
    font-size: 18px;
    color: #4b5563;
    font-family: 'Google Sans', sans-serif;
}

/* Popular Timezones */
.popular-timezones-section {
    padding: 40px 20px;
    background: white;
}

.section-title {
    font-size: 24px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 24px;
    font-family: 'Google Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #6b7280;
}

.popular-timezones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.popular-timezone-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.2s;
}

.popular-timezone-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102,126,234,0.1);
    transform: translateY(-2px);
}

.timezone-header {
    margin-bottom: 16px;
}

.timezone-name {
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 4px;
}

.timezone-id {
    font-size: 13px;
    color: #6b7280;
}

.timezone-time {
    font-size: 32px;
    font-weight: 300;
    color: #667eea;
    margin-bottom: 8px;
    font-family: 'Google Sans', sans-serif;
}

.timezone-date {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 12px;
}

.timezone-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.info-badge {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-badge.dst {
    background: #fef3c7;
    color: #92400e;
}

/* Filter Buttons */
.timezone-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background: #f9fafb;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* All Timezones Section */
.all-timezones-section {
    padding: 40px 20px;
    background: #fafafa;
}

.offset-group {
    margin-bottom: 40px;
}

.offset-title {
    font-size: 20px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timezone-count {
    margin-left: auto;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.timezones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.timezone-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.timezone-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.timezone-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.timezone-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.timezone-card-name {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

.dst-indicator {
    color: #f59e0b;
    font-size: 14px;
}

.timezone-card-time {
    font-size: 24px;
    font-weight: 300;
    color: #667eea;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timezone-card-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.timezone-card-footer {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.timezone-stat {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.timezone-countries {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.country-badge {
    background: #f0f4ff;
    color: #667eea;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.country-badge.more {
    background: #f3f4f6;
    color: #6b7280;
}

/* Timezone Detail Page */
.timezone-title-section {
    margin: 32px 0;
}

.timezone-title {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Google Sans', sans-serif;
}

.timezone-subtitle {
    font-size: 16px;
    opacity: 0.95;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.timezone-subtitle span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Time Display Section */
.timezone-time-section {
    padding: 40px 20px;
    background: #fafafa;
    margin-top: -40px;
}

.time-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.time-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.time-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.time-card-label {
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.9;
}

.time-card-value {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 8px;
    font-family: 'Google Sans', sans-serif;
}

.time-card.primary .time-card-value {
    color: white;
}

.time-card-date {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.time-card-info {
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dst-status {
    font-size: 28px;
    font-weight: 500;
}

/* DST Transitions */
.dst-transitions-section {
    padding: 40px 20px;
    background: white;
}

.transitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.transition-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #fde68a;
}

.transition-icon {
    font-size: 24px;
    color: #92400e;
    margin-bottom: 12px;
}

.transition-date {
    font-size: 18px;
    font-weight: 500;
    color: #78350f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.transition-type {
    font-size: 14px;
    font-weight: 500;
    color: #92400e;
    margin-bottom: 8px;
}

.transition-description {
    font-size: 13px;
    color: #78350f;
    margin-bottom: 8px;
}

.transition-offset {
    font-size: 12px;
    color: #92400e;
    opacity: 0.8;
}

/* Major Cities */
.major-cities-section {
    padding: 40px 20px;
    background: #fafafa;
}

.major-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.city-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.2s;
}

.city-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102,126,234,0.1);
    transform: translateY(-2px);
}

.city-flag {
    font-size: 32px;
    margin-bottom: 8px;
}

.city-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.city-country {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.city-population {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* Cities by Country */
.cities-by-country-section {
    padding: 40px 20px;
    background: white;
}

.country-group {
    margin-bottom: 32px;
    background: #fafafa;
    border-radius: 12px;
    padding: 20px;
}

.country-header {
    margin-bottom: 16px;
}

.country-title {
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-flag {
    font-size: 24px;
}

.cities-count {
    margin-left: auto;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-pill {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 16px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.city-pill:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
