/* ============================================
   COMING SOON SIDEBAR STYLES
   ============================================ */

/* Toggle Button - Right Side */
.upcoming-sidebar-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--secondary-blue, #4A90E2);
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 16px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.upcoming-sidebar-toggle:hover {
    background: var(--primary-lime, #C8E6C9);
    color: #333;
    transform: translateY(-50%) translateX(-3px);
}

.upcoming-sidebar-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(100%);
}

/* Sidebar Container */
.upcoming-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 450px;
    max-width: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 998;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.upcoming-sidebar.open {
    transform: translateX(0);
}

/* Sidebar Header */
.upcoming-sidebar-header {
    background: var(--secondary-blue, #4A90E2);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Intro Section */
.upcoming-sidebar-intro {
    background: #f0f8ff;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.upcoming-sidebar-intro p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.upcoming-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sidebar Content */
.upcoming-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Project Card */
.upcoming-project-card {
    background: #f9f9f9;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.project-cover {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}

.project-content {
    padding: 16px;
}

.project-type-badge {
    display: inline-block;
    background: var(--secondary-blue, #4A90E2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.project-guest {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.project-guest strong {
    color: #333;
}

.project-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.project-launch-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.project-launch-date svg {
    flex-shrink: 0;
}

.project-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.project-actions .btn-primary {
    background: var(--accent-green, #4CAF50);
    color: white;
    border: none;
}

.project-actions .btn-primary:hover {
    background: var(--primary-lime, #C8E6C9);
    color: #333;
    transform: translateY(-1px);
}

.project-actions .btn-secondary {
    background: white;
    color: var(--secondary-blue, #4A90E2);
    border: 2px solid var(--secondary-blue, #4A90E2);
}

.project-actions .btn-secondary:hover {
    background: var(--secondary-blue, #4A90E2);
    color: white;
}

/* Empty State */
.no-upcoming {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-upcoming svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-upcoming p {
    font-size: 16px;
    margin-bottom: 8px;
}

.no-upcoming small {
    font-size: 13px;
    color: #bbb;
}

/* Loading State */
.loading-upcoming {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--secondary-blue, #4A90E2);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .upcoming-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .upcoming-sidebar-toggle {
        top: auto;
        bottom: 80px;
        right: 0;
        transform: none;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        flex-direction: row;
        padding: 12px 16px;
        border-radius: 8px 0 0 8px;
    }

    .upcoming-sidebar-toggle:hover {
        transform: translateX(-3px);
    }

    .upcoming-sidebar-toggle.hidden {
        transform: translateX(100%);
    }

    .upcoming-sidebar-toggle .toggle-text {
        writing-mode: horizontal-tb;
    }

    .project-cover {
        height: 200px;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-actions .btn {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .upcoming-sidebar-header {
        padding: 16px;
    }

    .upcoming-sidebar-header h3 {
        font-size: 18px;
    }

    .upcoming-sidebar-content {
        padding: 16px;
    }

    .project-title {
        font-size: 16px;
    }

    .project-cover {
        height: 160px;
    }
}

/* Accessibility */
.upcoming-sidebar-toggle:focus,
.close-sidebar:focus {
    outline: 3px solid var(--primary-lime, #C8E6C9);
    outline-offset: 2px;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .upcoming-sidebar {
        background: #2a2a2a;
        color: #f0f0f0;
    }

    .upcoming-project-card {
        background: #333;
        color: #f0f0f0;
    }

    .project-title {
        color: #f0f0f0;
    }

    .project-description {
        color: #ccc;
    }

    .project-guest {
        color: #aaa;
    }

    .project-guest strong {
        color: #f0f0f0;
    }

    .project-actions .btn-secondary {
        background: #2a2a2a;
        border-color: #667eea;
    }
}
