/* Ensure Elementor columns/containers do not prevent sticky behavior */
.elementor-widget-wp-widget-psy_appointment_form,
.elementor-widget-container,
.elementor-widget,
.elementor-column-wrap,
.elementor-column,
.elementor-section-wrap,
.elementor-section,
.e-con-inner,
.e-con {
    overflow: visible !important;
}

.psy-frontend-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto 80px;
    box-sizing: border-box;
}

/* Top Section Side-by-Side Grid */
.psy-hero-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.psy-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.psy-right-col {
    display: block;
}

.psy-hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.psy-hero-icon-gif-wrap {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 760px;
}

.psy-hero-gif-icon {
    width: 90px;
    height: auto;
    display: block;
}

.psy-main-heading {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-align: left;
    color: #004d59;
    max-width: 760px;
    width: 100%;
}

.psy-text-yellow {
    color: #eab308;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
}

.psy-main-subtext {
    color: #475569;
    font-size: 17px;
    line-height: 1.45;
    margin: 0;
    text-align: left;
    max-width: 760px;
    width: 100%;
}

.psy-hero-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* Association Callout Box styling */
.psy-association-callout {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, rgba(0, 106, 123, 0.02), rgba(0, 106, 123, 0.06));
    border: 1px solid rgba(0, 106, 123, 0.08);
    border-left: 4px solid #006A7B;
    border-radius: 8px 16px 16px 8px;
    padding: 14px 20px;
    margin-top: 15px;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 106, 123, 0.02);
}

.psy-callout-icon-container {
    width: 36px;
    height: 36px;
    background: rgba(0, 106, 123, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.psy-callout-icon-svg {
    width: 20px;
    height: 20px;
}

.psy-callout-badge {
    display: inline-block;
    background: #006A7B;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1;
}

.psy-callout-text {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

.psy-callout-text strong {
    color: #006A7B;
    font-weight: 700;
}

/* Trust Badges Bar styling */
.psy-trust-badges-bar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.psy-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    flex: 1;
    min-width: 180px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

.psy-trust-badge:hover {
    transform: translateY(-3px);
    border-color: #006A7B;
    box-shadow: 0 10px 15px -3px rgba(0, 106, 123, 0.1), 0 4px 6px -2px rgba(0, 106, 123, 0.05);
}

.psy-tb-icon-container {
    width: 44px;
    height: 44px;
    background: rgba(0, 106, 123, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.psy-tb-icon-svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.psy-trust-badge:hover .psy-tb-icon-container {
    background: #006A7B;
}

.psy-trust-badge:hover .psy-tb-icon-svg {
    stroke: #ffffff;
    transform: scale(1.1);
}

.psy-tb-text {
    display: flex;
    flex-direction: column;
}

.psy-tb-text strong {
    font-size: 13px;
    color: #1e293b;
    font-weight: 700;
}

.psy-tb-text span {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Pricing Banner inside Form styling */
.psy-price-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #006A7B, #004d59);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 106, 123, 0.15);
}

.psy-price-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.psy-price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.psy-price-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 4px;
}

.psy-currency {
    font-size: 16px;
    font-weight: 600;
    color: #eab308;
    margin-left: 2px;
}

/* Security Guarantee under button styling */
.psy-form-security-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 15px;
    font-weight: 600;
}

/* Premium styled Selectable Session Type Radios active state */
.psy-appt-radio:has(input[type="radio"]:checked) {
    border-color: #006A7B;
    background: rgba(0, 106, 123, 0.03);
    color: #006A7B !important;
    box-shadow: 0 0 0 3px rgba(0, 106, 123, 0.08);
}

.psy-info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.psy-info-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e2e8f0;
}

.psy-info-card h3 {
    color: #006A7B;
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
}

.psy-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

/* Grids styled as premium cards */
.psy-info-list li {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.psy-info-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 106, 123, 0.05);
    border-color: #cbd5e1;
}

.psy-info-list li strong {
    color: #006A7B;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.psy-info-list li p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* Highlighted Tarifs Abordables Card */
.psy-info-list li.psy-highlight-card {
    background: rgba(0, 106, 123, 0.04);
    border: 2px solid #006A7B;
    box-shadow: 0 8px 20px rgba(0, 106, 123, 0.08);
}

.psy-info-list li.psy-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 106, 123, 0.12);
    background: rgba(0, 106, 123, 0.06);
}

/* Ce qu'il faut savoir Grid Layout */
.psy-savoir-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.psy-savoir-left .psy-bullet-list {
    margin-bottom: 0;
}

.psy-savoir-right .psy-map-container {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.psy-savoir-right .psy-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.psy-bullet-list {
    padding-left: 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.psy-bullet-list li {
    margin-bottom: 10px;
}

.psy-map-container iframe {
    transition: transform 0.3s;
    display: block;
}

.psy-appt-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 106, 123, 0.08);
    border: 1px solid rgba(0, 106, 123, 0.06);
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
}

.psy-appt-header {
    text-align: center;
    margin-bottom: 35px;
}

.psy-appt-title {
    color: #006A7B;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 0;
}

.psy-appt-subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.psy-appt-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.psy-appt-row {
    display: flex;
    gap: 16px;
}

.psy-appt-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.psy-appt-group label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.psy-appt-group input[type="text"],
.psy-appt-group input[type="email"],
.psy-appt-group input[type="tel"],
.psy-appt-group select,
.psy-appt-group input[type="date"],
.psy-appt-group input[type="time"],
.psy-appt-group textarea {
    padding: 14px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 15px;
    color: #334155;
    background: #f8fafc;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: inherit;
}

.psy-appt-group textarea {
    resize: vertical;
    min-height: 80px;
}

.psy-appt-group input:focus,
.psy-appt-group select:focus,
.psy-appt-group textarea:focus {
    border-color: #006A7B;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 106, 123, 0.1);
}

.psy-radio-group {
    display: flex;
    gap: 15px;
}

.psy-appt-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    flex: 1;
    transition: all 0.2s;
}

.psy-appt-radio:hover {
    border-color: #94a3b8;
}

.psy-appt-radio input[type="radio"] {
    accent-color: #006A7B;
    width: 18px;
    height: 18px;
    margin: 0;
}

.psy-appt-datetime-picker {
    display: flex;
    gap: 12px;
}

.psy-appt-note {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    display: block;
}

.psy-appt-submit {
    background: #006A7B !important;
    color: #ffffff !important;
    border: 2px solid #006A7B !important;
    padding: 18px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin-top: 10px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
}

.psy-appt-submit:hover {
    background: #004d59 !important;
    border-color: #004d59 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(0, 106, 123, 0.2) !important;
}

.psy-appt-submit:disabled {
    background: #cbd5e1 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.psy-appt-message {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    padding: 16px;
    border-radius: 12px;
}

.psy-appt-message.success {
    background: #dcfce7;
    color: #16a34a;
}

.psy-appt-message.error {
    background: #fee2e2;
    color: #dc2626;
}

@media (max-width: 1024px) {
    .psy-frontend-wrapper {
        width: 95%;
        gap: 40px;
    }
    .psy-hero-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .psy-info-cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .psy-appt-container {
        position: static;
    }
    .psy-savoir-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .psy-hero-icon-gif-wrap {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .psy-hero-content {
        align-items: center;
        text-align: center;
    }
    .psy-main-heading {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .psy-main-subtext {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .psy-association-callout {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    .psy-trust-badges-bar {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .psy-info-card h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .psy-main-heading {
        font-size: 32px; /* Shrink title slightly on mobile */
    }
    .psy-info-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    /* Enforce strict order on mobile */
    .psy-info-list li:nth-child(1) { order: 1; }
    .psy-info-list li:nth-child(2) { order: 2; }
    .psy-info-list li:nth-child(3) { order: 3; }
    .psy-info-list li:nth-child(4) { order: 4; }

    .psy-appt-row, .psy-radio-group, .psy-appt-datetime-picker {
        flex-direction: column;
        gap: 16px;
    }
    .psy-appt-container {
        padding: 25px;
    }
    .psy-info-card {
        padding: 25px;
    }
    .psy-trust-badges-bar {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   User Dashboard & Login Styles - PsyQuilibre Theme
   ========================================================================== */

/* Login Container */
.psy-dashboard-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 60px;
    width: 100%;
    box-sizing: border-box;
}

.psy-login-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 106, 123, 0.15);
    border: 1px solid rgba(0, 106, 123, 0.08);
    box-sizing: border-box;
}

.psy-login-header {
    text-align: center;
    margin-bottom: 35px;
}

.psy-login-header h2 {
    color: #006A7B;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.psy-login-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.psy-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.psy-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psy-remember-me {
    font-size: 14px;
    color: #475569;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.psy-remember-me input {
    accent-color: #006A7B;
    width: 16px;
    height: 16px;
    margin: 0;
}

.psy-login-helper-note {
    background: #f8fafc;
    border-left: 4px solid #eab308;
    padding: 16px;
    border-radius: 0 12px 12px 0;
    margin-top: 15px;
}

.psy-login-helper-note p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

/* Dashboard Workspace */
.psy-dashboard-wrapper {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 160px auto 80px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    box-sizing: border-box !important;
}

.psy-db-header-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 15px 35px rgba(0, 106, 123, 0.08);
    border: 1px solid rgba(0, 106, 123, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.psy-db-header-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.psy-db-avatar {
    width: 68px;
    height: 68px;
    background: #006A7B;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(0, 106, 123, 0.2);
}

.psy-db-welcome-text h2 {
    color: #006A7B;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
}

.psy-db-welcome-text p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.psy-db-stats {
    display: flex;
    gap: 20px;
}

.psy-db-stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    min-width: 140px;
    text-align: center;
}

.psy-db-stat-item.highlight-teal {
    background: rgba(0, 106, 123, 0.04);
    border-color: rgba(0, 106, 123, 0.15);
}

.psy-stat-value {
    color: #006A7B;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.psy-stat-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Tabs */
.psy-db-nav {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 35px;
    padding-bottom: 5px;
}

.psy-db-tab-btn {
    background: transparent;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #64748b;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.psy-db-tab-btn:hover {
    color: #006A7B;
    background: rgba(0, 106, 123, 0.04);
}

.psy-db-tab-btn.active {
    color: #ffffff;
    background: #006A7B;
    box-shadow: 0 6px 15px rgba(0, 106, 123, 0.2);
}

/* Content Area */
.psy-db-pane {
    display: none;
    animation: psyFadeIn 0.3s ease;
}

.psy-db-pane.active {
    display: block;
}

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

.psy-pane-title {
    color: #006A7B;
    font-size: 22px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
}

.psy-pane-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Empty State */
.psy-db-empty-state {
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    border: 2px dashed #cbd5e1;
}

.psy-db-empty-state p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 20px;
}

.psy-db-empty-cta {
    background: #006A7B;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.psy-db-empty-cta:hover {
    background: #004d59;
    transform: translateY(-2px);
}

.psy-db-empty-state.simple {
    border: none;
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    margin: 0;
}

.psy-db-empty-state.simple p {
    margin: 0;
    font-size: 14px;
}

/* Table Container & Table */
.psy-table-container {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 106, 123, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 106, 123, 0.04) !important;
    margin-bottom: 20px !important;
}

.psy-dashboard-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 !important;
}

.psy-dashboard-table th, 
.psy-dashboard-table td {
    padding: 18px 24px !important;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 106, 123, 0.06) !important;
    font-size: 15px !important;
}

.psy-dashboard-table tr {
    transition: background-color 0.2s ease !important;
}

.psy-dashboard-table tr:hover {
    background-color: rgba(0, 106, 123, 0.01) !important;
}

.psy-dashboard-table tr:last-child td {
    border-bottom: none !important;
}

.psy-dashboard-table th {
    background: rgba(0, 106, 123, 0.03) !important;
    color: #006A7B !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

.psy-cell-date strong {
    color: #1e293b !important;
    display: block !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.psy-cell-date small {
    color: #64748b !important;
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
}

.psy-status-badge {
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.psy-status-badge.confirmed {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.psy-status-badge.pending {
    background: #fef9c3 !important;
    color: #a16207 !important;
}

.psy-status-badge.cancelled {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Badge Pills */
.psy-badge-pill {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.psy-badge-pill.teal {
    background: rgba(0, 106, 123, 0.08) !important;
    color: #006A7B !important;
}

.psy-badge-pill.grey {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* Support Grid */
.psy-support-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.psy-support-form-card, 
.psy-support-history-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 106, 123, 0.06);
    border: 1px solid rgba(0, 106, 123, 0.05);
}

/* Accordion (Messages History) */
.psy-messages-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.psy-accordion-item {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.psy-accordion-item:hover {
    border-color: #94a3b8;
}

.psy-accordion-item.has-reply {
    border-color: rgba(0, 106, 123, 0.25);
}

.psy-accordion-header {
    background: #f8fafc;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.psy-accordion-item.has-reply .psy-accordion-header {
    background: rgba(0, 106, 123, 0.02);
}

.psy-acc-title-group h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.psy-acc-title-group small {
    color: #64748b;
    font-size: 12px;
}

.psy-acc-status-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.psy-msg-status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.psy-msg-status-badge.unread {
    background: #cbd5e1;
    color: #475569;
}

.psy-msg-status-badge.replied {
    background: rgba(0, 106, 123, 0.1);
    color: #006A7B;
}

.psy-acc-icon {
    transition: transform 0.2s ease;
    color: #64748b;
}

.psy-accordion-item.open .psy-acc-icon {
    transform: rotate(180deg);
}

.psy-accordion-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #cbd5e1;
    background: #ffffff;
}

.psy-accordion-item.open .psy-accordion-content {
    display: block;
}

.psy-user-message-body strong, 
.psy-admin-reply-body strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.psy-user-message-body strong {
    color: #64748b;
}

.psy-admin-reply-body strong {
    color: #006A7B;
}

.psy-user-message-body p, 
.psy-admin-reply-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.psy-admin-reply-body {
    background: rgba(0, 106, 123, 0.03);
    border-left: 3px solid #006A7B;
    padding: 16px;
    border-radius: 0 12px 12px 0;
    margin-top: 20px;
}

.psy-reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 5px;
}

.psy-reply-header strong {
    margin: 0;
}

.psy-reply-header small {
    color: #64748b;
    font-size: 11px;
}

/* Responsiveness for Dashboard */
@media (max-width: 1024px) {
    .psy-support-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .psy-db-header-card {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .psy-db-stats {
        width: 100%;
    }
    
    .psy-db-stat-item {
        flex: 1;
    }
    
    .psy-dashboard-table th, 
    .psy-dashboard-table td {
        padding: 12px;
        font-size: 14px;
    }
}

/* User Settings Password Inputs & Form Controls Styling */
#psy-profile-password-form input[type="password"] {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(0, 106, 123, 0.15) !important;
    font-size: 15px !important;
    color: #1e293b !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

#psy-profile-password-form input[type="password"]:focus {
    border-color: #006A7B !important;
    box-shadow: 0 0 0 4px rgba(0, 106, 123, 0.08) !important;
    background: #ffffff !important;
}

/* Custom Avatar Action Button Styling (High contrast, overrides Elementor default pink/accent) */
#psy-trigger-avatar-upload {
    background: #006A7B !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    box-shadow: 0 4px 6px -1px rgba(0, 106, 123, 0.1) !important;
    text-transform: none !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
}

#psy-trigger-avatar-upload:hover {
    background: #004d59 !important;
    transform: translateY(-1px) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Creative Premium entry animations
   ========================================================================== */

@keyframes revealScaleBlur {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes badgeSlideInCascading {
    0% {
        opacity: 0;
        transform: translateX(-35px) rotate(-1.5deg) scale(0.96);
    }
    70% {
        transform: translateX(3px) rotate(0.5deg) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0) scale(1);
    }
}

@keyframes formFloatReveal {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.96);
        box-shadow: 0 5px 15px rgba(0, 106, 123, 0.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 20px 50px rgba(0, 106, 123, 0.08);
    }
}

@keyframes bottomCardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Applying premium entrance transitions with staggered delays */
.psy-hero-icon-gif-wrap {
    animation: revealScaleBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.05s;
}

.psy-main-heading {
    animation: revealScaleBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

.psy-main-subtext {
    animation: revealScaleBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.25s;
}

.psy-association-callout {
    animation: revealScaleBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.35s;
}

.psy-trust-badges-bar .psy-trust-badge:nth-child(1) {
    animation: badgeSlideInCascading 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.45s;
}

.psy-trust-badges-bar .psy-trust-badge:nth-child(2) {
    animation: badgeSlideInCascading 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.55s;
}

.psy-trust-badges-bar .psy-trust-badge:nth-child(3) {
    animation: badgeSlideInCascading 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.65s;
}

.psy-appt-container {
    animation: formFloatReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.psy-info-cards-grid .psy-info-card:nth-child(1) {
    animation: bottomCardReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.75s;
}

.psy-info-cards-grid .psy-info-card:nth-child(2) {
    animation: bottomCardReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.85s;
}

