/* Umrah Designer Modern UI - Green and White Theme
   Matches International Portal UX with Emerald & White Aesthetics */

:root {
    --primary-green: #13735d;
    --emerald-green: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #06231b;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    --gold-accent: #f59e0b;
}

body.designer-body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(19, 115, 93, 0.45) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.25) 0%, transparent 40%),
                linear-gradient(135deg, #06231b 0%, #0c3e32 50%, #114e3f 100%);
    color: #ffffff;
    min-height: 100vh;
    padding-top: var(--top-spacing, 125px);
    padding-bottom: 60px;
    background-attachment: fixed;
    margin: 0;
}

.designer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .glass-card {
        padding: 24px 18px;
        border-radius: 18px;
    }
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 35px;
    gap: 12px;
    position: relative;
}

.step-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-dot.active {
    background: #10b981;
    border-color: #34d399;
    box-shadow: 0 0 14px #10b981;
    transform: scale(1.4);
}

.step-dot.completed {
    background: rgba(16, 185, 129, 0.6);
    border-color: #10b981;
}

.step-container {
    display: none;
    animation: fadeIn 0.45s ease;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-weight: 600;
    font-size: 1.55rem;
    margin-bottom: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.step-subtitle {
    color: #e0f2f1;
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.form-label {
    color: #e0f2f1;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 12px;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 0.98rem;
    transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select option {
    background: #0d3b30;
    color: #ffffff;
    padding: 10px;
}

.btn-custom {
    background: linear-gradient(45deg, #13735d, #10b981);
    border: none;
    color: #ffffff;
    padding: 13px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.02rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: #ffffff;
}

.btn-custom:disabled {
    opacity: 0.55;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Stepper Control (Persons / Days) */
.stepper-control {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 4px;
}

.stepper-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.stepper-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.stepper-input {
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
    width: 52px;
    font-weight: 600;
    font-size: 1.15rem;
}

.stepper-input:focus {
    outline: none;
}

/* Person Item Row */
.person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: background 0.2s;
}

.person-row:hover {
    background: rgba(255, 255, 255, 0.07);
}

.person-info h5 {
    margin: 0;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}

.person-info small {
    color: #e0f2f1;
    opacity: 0.75;
    font-size: 0.85rem;
}

/* Radio Cards (Vehicles, Categories) */
.radio-card {
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.radio-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.radio-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.28);
}

/* Stay Cards */
.stay-card-ui {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
}

.stay-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.stay-card-header h4 {
    margin: 0;
    color: #10b981;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-preview-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hotel-preview-card .hotel-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.05rem;
}

.hotel-preview-card .hotel-price {
    color: #a7f3d0;
    font-size: 0.95rem;
    background: rgba(16, 185, 129, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Ziarat Cards */
.ziarat-card-ui {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
}

.ziarat-slot {
    margin-top: 12px;
}

/* Summary Box */
.trip-summary-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    color: #e0f2f1;
    opacity: 0.75;
    font-size: 0.92rem;
}

.summary-item .val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
    font-size: 0.95rem;
}

.error-text {
    color: #f87171 !important;
    font-size: 0.85rem;
}
