/* Fashio.blog - Client Dashboard Styles (Glamorous & Premium) */

.fashio-client-portal, .fashio-salons-directory, .fashio-booking-portal {
    font-family: 'Outfit', sans-serif;
    padding: 40px 20px;
}

.fashio-client-portal {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Digital Card (Dashboard) --- */
.fashio-digital-card {
    background: #0f172a; /* Obsidian */
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    z-index: 1;
}

/* The Abstract Mesh Background */
.card-bg-mesh {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.1) 0%, transparent 60%);
    opacity: 0.8;
    filter: blur(20px);
}

.fashio-digital-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 15px 25px;
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-badge {
    background: linear-gradient(135deg, #d4af37, #f3e5ab); /* Gold gradient */
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-user {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.card-user strong {
    color: #fff;
}

/* Card Body */
.card-body {
    padding: 10px 25px 25px 25px;
    text-align: left;
}

.membership-tier {
    font-size: 2rem;
    margin: 0 0 5px 0;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.salon-name {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

/* Services */
.card-services {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
}

.card-services h3 {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.services-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-count {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.services-list li.exhausted {
    opacity: 0.5;
}

.services-list li.exhausted .service-name {
    text-decoration: line-through;
}

.services-list li.exhausted .service-count {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* QR Code Section */
.card-qr-section {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.qr-container {
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.qr-container:hover {
    transform: scale(1.05);
}

.qr-container img {
    display: block;
    width: 150px;
    height: 150px;
}

.qr-info {
    text-align: center;
}

.qr-info p {
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.qr-id {
    font-family: monospace;
    font-size: 0.9rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

/* --- Directory & Booking Common --- */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ec4899;
    color: #ec4899;
}

.btn-outline:hover {
    background: #ec4899;
    color: white;
}

.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: #94a3b8; }

/* --- Salons Directory --- */
.fashio-salons-directory {
    max-width: 1000px;
    margin: 0 auto;
}

.directory-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.fashio-select, .fashio-input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.salons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.salon-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.salon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.salon-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.salon-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.salon-info {
    padding: 20px;
}

.salon-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    color: #1e293b;
}

.salon-address {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.salon-perks span {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #475569;
    margin-right: 5px;
    margin-bottom: 5px;
}

.salon-perks span .dashicons {
    color: #10b981;
    font-size: 14px;
    width: 14px; height: 14px;
    vertical-align: middle;
}

/* --- Booking Form --- */
.fashio-booking-portal {
    display: flex;
    justify-content: center;
}

.booking-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.booking-card h2 {
    margin: 0 0 5px 0;
    color: #1e293b;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
}

.success-icon-wrap .dashicons {
    font-size: 5rem;
    width: 5rem; height: 5rem;
    color: #10b981;
    margin-bottom: 15px;
}

/* Alert for non-logged in users */
.fashio-alert {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #ec4899;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

@media (max-width: 768px) {
    .directory-filters {
        flex-direction: column;
    }
    .fashio-digital-card {
        max-width: 100%;
    }
    .salons-grid {
        grid-template-columns: 1fr;
    }
    .card-header, .card-body, .card-services {
        padding: 15px;
    }
    .fashio-client-portal, .fashio-salons-directory, .fashio-booking-portal {
        padding: 20px 10px;
    }
}

