/**
 * Project Router Modal Styles
 * Guided decision tree for routing users
 * 
 * @package Silva_Customer_Portal
 * @version 2.8.0
 */

/* ==========================================================================
   Guided Start Box (Hero Section)
   ========================================================================== */

.guided-start-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1.5px solid rgba(217, 119, 6, 0.3);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    margin: 0.875rem auto 0;
    max-width: 600px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.guided-start-box:hover {
    border-color: rgba(217, 119, 6, 0.5);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
    transform: translateY(-2px);
}

.guided-start-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.guided-start-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.guided-start-text {
    flex: 1;
}

.guided-start-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.125rem;
    line-height: 1.3;
}

.guided-start-subtitle {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.guided-start-button {
    width: 100%;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.25);
}

.guided-start-button:hover {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    transform: translateY(-2px);
}

.guided-start-button:active {
    transform: translateY(0);
}

/* Search Examples */
.search-examples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
    font-size: 0.75rem;
}

.search-examples-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.75rem;
}

.search-example-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    transition: color 0.2s ease;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.search-example-link:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Modal Overlay & Container
   ========================================================================== */

.project-router-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.project-router-modal.active {
    display: flex;
}

.project-router-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.project-router-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    padding: 2rem;
}

.project-router-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.project-router-close:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

/* ==========================================================================
   Router Step
   ========================================================================== */

.router-step {
    display: none;
}

.router-step--active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.router-step-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.router-step-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* ==========================================================================
   Router Options
   ========================================================================== */

.router-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.router-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.router-option:hover {
    border-color: #d97706;
    background-color: #fffbeb;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.router-option:active {
    transform: translateX(2px);
}

.router-option-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.router-option-content {
    flex: 1;
}

.router-option-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.router-option-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 768px) {
    .guided-start-box {
        padding: 1.5rem;
    }
    
    .guided-start-button {
        width: auto;
        min-width: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .project-router-content {
        padding: 2.5rem;
    }
    
    .router-step-title {
        font-size: 2rem;
    }
}
