.world-clock-page {
    max-width: var(--small-width);
    margin: 0 auto;
    padding: 20px;
}

.local-time-section {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.local-time {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.local-date {
    font-size: 16px;
    color: #6b7280;
}

.timezone-select-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.select-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.timezone-select {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.timezone-select:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
    background-color: white;
}

.timezone-select option {
    padding: 8px 12px;
    font-size: 14px;
}

.add-timezone-btn {
    padding: 12px 24px;
    background: #06b6d4;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.add-timezone-btn:hover {
    background: #0891b2;
    transform: translateY(-1px);
}

.add-timezone-btn:active {
    transform: translateY(0);
}

.clock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.clock-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    position: relative;
    border-top: 4px solid #06b6d4;
}

.remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #fee2e2;
    color: #ef4444;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.clock-card:hover .remove-btn {
    opacity: 1;
}

.remove-btn:hover {
    background: #ef4444;
    color: white;
}

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

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

.tz-name {
    font-size: 12px;
    color: #9ca3af;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.card-time {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

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

.card-diff {
    font-size: 13px;
    color: #06b6d4;
    padding: 6px 10px;
    background: #ecfeff;
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 900px) {
    .clock-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .local-time {
        font-size: 32px;
    }

    .select-wrapper {
        flex-direction: column;
    }

    .timezone-select {
        width: 100%;
    }

    .add-timezone-btn {
        width: 100%;
    }

    .clock-cards {
        grid-template-columns: 1fr;
    }

    .card-time {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .world-clock-page {
        padding: 12px;
    }

    .local-time-section {
        padding: 20px 16px;
    }

    .local-time {
        font-size: 28px;
    }

    .timezone-select-section {
        padding: 16px;
    }

    .clock-card {
        padding: 16px;
    }
}