/* Additional styles for Time Tools page */

/* Timeline grid will be set dynamically via inline styles */

/* Select dropdown styling to match main page */
.location-timezone-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.dark .location-timezone-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.tab-button {
    transition: all 0.2s ease;
    cursor: pointer;
}

.tab-button.active {
    color: var(--accent);
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Styles */
.timeline-hour {
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.timeline-hour:hover {
    transform: scale(1.05);
    z-index: 10;
}

.timeline-hour.selected {
    outline: 4px solid #3b82f6 !important;
    outline-offset: -3px;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5), 0 0 15px rgba(59, 130, 246, 0.8);
    transform: scale(1.05);
    z-index: 20;
    position: relative;
    border: 2px solid #ffffff !important;
}

.dark .timeline-hour.selected {
    border: 2px solid #1f2937 !important;
}

.hour-business {
    background-color: #10b981;
    color: white;
}

.hour-evening {
    background-color: #f59e0b;
    color: white;
}

.hour-sleep {
    background-color: #ef4444;
    color: white;
}

.hour-neutral {
    background-color: #e5e7eb;
    color: #374151;
}

.dark .hour-neutral {
    background-color: #374151;
    color: #e5e7eb;
}

.hour-current {
    border-left: 3px solid #3b82f6;
    border-right: 3px solid #3b82f6;
}

/* Best time highlight */
.best-time-slot {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
}

/* Location input styles */
.location-input-wrapper {
    position: relative;
}

.location-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .location-suggestions {
    background: #1f2937;
    border-color: #374151;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f3f4f6;
}

.dark .suggestion-item:hover {
    background-color: #374151;
}

/* Custom set card */
.set-card {
    transition: all 0.2s ease;
}

.set-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
