/* EVENT ARCHITECT STYLES */
#event-architect-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#event-architect-modal.active {
    opacity: 1;
    visibility: visible;
}

.architect-container {
    background: linear-gradient(145deg, rgba(30,30,30,0.8), rgba(15,15,15,0.9));
    border: none;
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Theme Backgrounds */
#event-architect-modal {
    transition: background 0.8s ease, opacity 0.3s ease, visibility 0.3s ease;
}
#event-architect-modal.theme-cyberpunk { background: rgba(0, 20, 25, 0.95); }
#event-architect-modal.theme-elegant { background: rgba(25, 15, 0, 0.95); }
#event-architect-modal.theme-minimal { background: rgba(20, 20, 20, 0.95); }
#event-architect-modal.theme-academic { background: rgba(5, 10, 25, 0.95); }
#event-architect-modal.theme-sports { background: rgba(35, 10, 10, 0.95); }
#event-architect-modal.theme-futuristic { background: rgba(10, 0, 30, 0.95); }

/* Sticky Budget & Date Indicator in Header */
.arch-header-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arch-date-pill {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.4);
    color: #00ffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.arch-sticky-budget {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #ffd700;
    padding: 6px 16px;
    border-radius: 20px;
    color: #ffd700;
    font-size: 0.95rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.25);
    transition: all 0.3s ease;
}

.arch-sticky-budget i {
    font-size: 1.2rem;
    color: #ffd700;
}

#event-architect-modal.active .architect-container {
    transform: translateY(0);
}

.architect-header {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    gap: 15px;
    position: relative;
    z-index: 100;
}

.architect-header h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.architect-header h2 i {
    color: #00ffff;
}

.close-architect {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.close-architect:hover {
    background: rgba(255, 69, 0, 0.8);
    border-color: #ff4500;
    color: #fff;
    transform: rotate(90deg);
}

.architect-body {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Steps */
.architect-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.architect-step.active {
    display: block;
}

.architect-step h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #ffd700;
    text-align: center;
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.option-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: #00ffff;
    transform: translateY(-3px);
}

.option-card.selected {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.option-card i {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 10px;
}

/* Specific inputs */
.architect-input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: inherit;
}

.architect-input:focus {
    outline: none;
    border-color: #00ffff;
}

/* Controls */
.architect-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    background: rgba(0,0,0,0.4);
}

.btn-architect {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-architect.prev {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.btn-architect.prev:hover {
    background: rgba(255,255,255,0.2);
}

.btn-architect.next {
    background: #ffd700;
    color: #000;
}

.btn-architect.next:hover {
    background: #ffea00;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Blueprint Result */
.blueprint-result {
    text-align: center;
}

.blueprint-paper {
    background: rgba(0,0,0,0.6);
    border: 1px solid #00ffff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
    font-family: monospace;
}

.blueprint-paper h4 {
    color: #00ffff;
    font-size: 1.5rem;
    margin-top: 0;
    text-align: center;
    letter-spacing: 2px;
}

.blueprint-paper hr {
    border-color: rgba(0,255,255,0.3);
    margin: 15px 0;
}

.blueprint-paper p {
    margin: 8px 0;
    color: #ccc;
    font-size: 1.1rem;
}

.blueprint-paper p strong {
    color: #fff;
}

.blueprint-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blueprint-list li {
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.blueprint-list li i {
    color: #00ffff;
    margin-right: 5px;
}

.warning-box {
    background: rgba(255, 69, 0, 0.1);
    border-left: 4px solid #ff4500;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
}

.warning-box h5 {
    margin: 0 0 5px 0;
    color: #ff4500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.warning-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffbba6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Global specific buttons */
.btn-build-event {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border: none;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Responsive mobile styles for Event Architect */
@media (max-width: 768px) {
    .architect-header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .architect-header h2 {
        font-size: 1.1rem;
    }

    .arch-header-center {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

    .arch-sticky-budget,
    .arch-date-pill {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .close-architect {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .architect-body {
        padding: 16px 14px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .option-card {
        padding: 14px 8px !important;
        font-size: 0.85rem !important;
    }

    .architect-step h3 {
        font-size: 1.25rem !important;
        margin-bottom: 12px !important;
    }

    .architect-footer {
        padding: 14px 16px !important;
    }

    .btn-architect {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }
}
