/* ============================================
   NAUTILUS EVENTLOUNGE - CUSTOM STYLES
   ============================================ */

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 90rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .layout-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

.form-column {
    min-width: 0;
}

.summary-column {
    min-width: 0;
}

/* Sticky Summary */
.sticky-summary {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

@media (max-width: 1023px) {
    .sticky-summary {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        border-radius: 20px 20px 0 0;
        max-height: 60vh;
        margin: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .summary-column {
        min-height: 60vh;
    }
}

/* Cost Item Styling */
.cost-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.cost-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Glassmorphism Effects */
.glass-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(10, 186, 181, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Progress Bar */
.progress-bar {
    background: linear-gradient(90deg, #0ABAB5, #06D6A0);
    box-shadow: 0 0 20px rgba(10, 186, 181, 0.5);
}

/* Selection Cards */
.selection-card {
    position: relative;
    display: block;
    cursor: pointer;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(100, 116, 139, 0.3);
    padding: 24px;
    transition: all 0.3s ease;
    text-align: center;
}

.selection-card:hover {
    transform: translateY(-4px);
    border-color: rgba(10, 186, 181, 0.5);
    background: rgba(30, 41, 59, 0.7);
}

/* Selected State */
.selection-card input:checked~.card-content {
    color: #0ABAB5;
}

.selection-card input:checked~.card-content .icon {
    color: #0ABAB5;
    filter: drop-shadow(0 0 10px rgba(10, 186, 181, 0.6));
}

.selection-card:has(input:checked) {
    border-color: #0ABAB5;
    border-width: 3px;
    box-shadow: 0 0 30px rgba(10, 186, 181, 0.4),
        inset 0 0 20px rgba(10, 186, 181, 0.1);
    background: rgba(10, 186, 181, 0.1);
}

/* Disabled State */
.selection-card:has(input:disabled) {
    opacity: 0.7;
    cursor: not-allowed;
}

.selection-card:has(input:disabled):hover {
    transform: none;
}

/* Card Content */
.card-content {
    transition: all 0.3s ease;
}

.card-content .icon {
    transition: all 0.3s ease;
}

.card-content .title {
    margin-bottom: 8px;
}

.card-content .price {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 600;
}

.card-content .badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ABAB5, #06D6A0);
    color: #0f172a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
}

/* Input Fields */
.input-field {
    width: 100%;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #f1f5f9;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #0ABAB5;
    box-shadow: 0 0 20px rgba(10, 186, 181, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.input-field::placeholder {
    color: #64748b;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0ABAB5, #06D6A0);
    color: #0f172a;
    font-weight: bold;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 186, 181, 0.4);
    width: 100%;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 186, 181, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid rgba(100, 116, 139, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #0ABAB5;
    background: rgba(30, 41, 59, 1);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    width: 35rem;
    animation: slideUp 0.3s ease;
}

/* Table Styles */
table {
    border-collapse: separate;
    border-spacing: 0;
}

table thead tr {
    background: rgba(10, 186, 181, 0.1);
}

table tbody tr {
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: rgba(10, 186, 181, 0.05);
    cursor: pointer;
}

table th {
    font-weight: 600;
    color: #0ABAB5;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 16px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Step Content Animation */
.step-content {
    animation: slideUp 0.4s ease;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .selection-card {
        padding: 16px;
    }

    .card-content .icon {
        font-size: 3rem;
        margin-bottom: 8px;
    }

    .card-content .title {
        font-size: 14px;
    }

    .glass-container {
        padding: 24px 16px;
    }
}

/* Glow Effect for Active Elements */
.glow-tiffany {
    box-shadow: 0 0 30px rgba(10, 186, 181, 0.5);
}

/* Detail Modal Content Styling */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #0ABAB5;
}

.detail-value {
    color: #cbd5e1;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(10, 186, 181, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 186, 181, 0.7);
}

/* Loading Animation */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}