/* ==========================================================================
   Private area – FancyCarTours style (same as public_profile2)
   ========================================================================== */

.private-area-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-top: -12px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.private-area-back-link:hover {
    color: #e83e8c;
}

/* Terug naar overzicht – smaller button */
.private-area-back-btn {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    margin-top: 0 !important;
}

@media (max-width: 480px) {
    .private-area-back-btn {
        width: auto !important;
        display: inline-block !important;
    }
}

/* WhatsApp Contact button – under table (pink style) */
.whatsapp-contact-block {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-whatsapp-contact-real {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 32px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-contact-real:hover {
    background: rgba(0, 0, 0, 0.75);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-contact-real:hover .btn-whatsapp-icon-pink {
    color: #2ee66d;
}

.btn-whatsapp-contact-real:hover .btn-whatsapp-hello {
    color: #fff;
}

.btn-whatsapp-icon-wrap {
    display: block;
    line-height: 0;
}

.btn-whatsapp-icon-pink {
    width: 56px;
    height: 56px;
    color: #25D366;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.btn-whatsapp-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-transform: none;
    letter-spacing: 0.02em;
}

.btn-whatsapp-hello {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

/* Aftermovies section – below table */
.private-area-aftermovies {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.private-area-aftermovies__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.private-area-aftermovies__title .highlight {
    font-size: inherit;
    font-weight: inherit;
    background: linear-gradient(135deg, #ff006e 0%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.private-area-aftermovies__help {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 1.5rem;
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;
}

.private-area-aftermovies .fct-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

.private-area-aftermovies .fct-aftermovies-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.private-area-aftermovies .fct-aftermovies-card:hover {
    border-color: rgba(232, 62, 140, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.private-area-aftermovies .fct-aftermovies-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #000;
}

.private-area-aftermovies .fct-aftermovies-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.private-area-aftermovies .fct-aftermovies-card:hover .fct-aftermovies-image {
    transform: scale(1.05);
}

.private-area-aftermovies .fct-aftermovies-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.private-area-aftermovies .fct-aftermovies-date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    padding: 6px 12px;
    border-radius: 50px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.private-area-aftermovies .fct-aftermovies-date-badge i {
    font-size: 12px;
}

.private-area-aftermovies .fct-aftermovies-video-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.private-area-aftermovies .fct-aftermovies-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.private-area-aftermovies .fct-aftermovies-play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #e83e8c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.private-area-aftermovies .fct-aftermovies-play-icon i {
    margin-left: 2px;
}

.private-area-aftermovies .fct-aftermovies-play-ring {
    position: absolute;
    width: 72px;
    height: 72px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: private-area-play-pulse 2s ease-out infinite;
}

@keyframes private-area-play-pulse {
    0% { transform: scale(0.85); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.private-area-aftermovies .fct-aftermovies-card:hover .fct-aftermovies-play-icon {
    transform: scale(1.1);
    background: rgba(232, 62, 140, 0.95);
    color: #fff;
}

.private-area-aftermovies .fct-aftermovies-card__body {
    padding: 14px;
}

.private-area-aftermovies .fct-aftermovies-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    transition: color 0.2s ease;
}

.private-area-aftermovies .fct-aftermovies-card:hover .fct-aftermovies-card__title {
    color: #e83e8c;
}

@media (max-width: 768px) {
    .private-area-aftermovies .fct-profiles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Modify persons – below table */
.private-area-modify-persons-wrap {
    margin-top: 1rem;
    margin-bottom: 0;
}

.private-area-modify-persons-wrap .btn {
    border-radius: 8px;
}

/* Helptekst boven WhatsApp-knop */
.private-area-whatsapp-help {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ block – below WhatsApp button */
.private-area-faq-hr {
    margin: 1.75rem 0 1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.private-area-faq-block {
    text-align: center;
    padding-bottom: 0.5rem;
}

.private-area-faq-help {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.btn-faq-link {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(232, 62, 140, 0.15);
    border: 2px solid #e83e8c;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-faq-link:hover {
    border-color: #ff006e;
    background: rgba(232, 62, 140, 0.25);
    color: #fff;
}

.private-area-back-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Title accent (edition name) */
.information-section .private-area-title {
    margin-bottom: 1.5rem;
}

.information-section .private-area-title .profile-title-car {
    background: linear-gradient(135deg, #ff006e 0, #d20055 50%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.information-section .private-area-title .profile-title-nickname {
    font-size: 0.45em;
    font-weight: 600;
    vertical-align: middle;
    opacity: .95;
}

/* Content cards – same as garage-card-block */
.private-area-card {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, .05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .08);
}

.private-area-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.private-area-card h2 .highlight {
    background: linear-gradient(135deg, #ff006e 0%, #d20055 50%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.private-area-card p,
.private-area-card span {
    color: rgba(255, 255, 255, .85);
    font-size: 1rem;
}

/* Alerts – FancyCarTours style */
.private-area-content .alert {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 1rem 1.25rem;
}

.private-area-content .alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: rgba(255, 255, 255, .95);
    border-color: rgba(40, 167, 69, 0.4);
}

.private-area-content .alert-warning,
.private-area-content .alert.background-warning {
    background: rgba(255, 193, 7, 0.15);
    color: rgba(255, 255, 255, .95);
    border-color: rgba(255, 193, 7, 0.35);
}

/* Tables inside private area – dark luxury */
.private-area-content .table.confirm {
    background: transparent;
    color: rgba(255, 255, 255, .9);
    border: none;
}

.private-area-content .table.confirm thead th {
    border-color: rgba(255, 255, 255, .12);
    color: #fff;
    font-weight: 700;
}

.private-area-content .table.confirm tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.private-area-content .table.confirm tbody td {
    border: none;
    padding: 0.85rem 0.5rem;
    color: rgba(255, 255, 255, .88);
}

/* Mobile: prevent text overflow in table – wrap long text and URLs */
@media (max-width: 767px) {
    .private-area-content .main_title .table.confirm {
        table-layout: fixed;
        width: 100%;
    }

    .private-area-content .table.confirm tbody td {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        min-width: 0;
    }

    .private-area-content .table.confirm tbody td:first-child {
        width: 38%;
        max-width: 38%;
        vertical-align: top;
        padding-right: 0.5rem;
    }

    .private-area-content .table.confirm tbody td:last-child {
        width: 62%;
        max-width: 62%;
    }

    .private-area-content .table.confirm tbody td a,
    .private-area-content .table.confirm tbody td code {
        overflow-wrap: anywhere;
        word-break: break-word;
        display: inline-block;
        max-width: 100%;
    }

    .private-area-aftermovies__help {
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

.private-area-content .table.confirm tbody tr:hover td {
    background: rgba(255, 255, 255, .04);
}

.private-area-content .table.confirm strong {
    color: rgba(255, 255, 255, .95);
}

.private-area-content .table.confirm a {
    color: #e83e8c;
    text-decoration: none;
}

.private-area-content .table.confirm a:hover {
    color: #ff006e;
    text-decoration: underline;
}

/* Openstaand bedrag – duidelijke betaalinstructie */
.private-area-due-amount-row td {
    border-bottom: none;
    padding: 0;
    vertical-align: top;
}

.private-area-due-amount-cell {
    padding: 0 !important;
}

.private-area-pay-due-callout {
    margin-top: 0.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(232, 62, 140, 0.12);
    border: 2px solid rgba(232, 62, 140, 0.5);
    border-radius: 12px;
    text-align: center;
}

.private-area-pay-due-cta {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.private-area-pay-due-amount {
    color: rgba(255, 255, 255, .95);
    font-size: 1.5rem;
    font-weight: 700 !important;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(232, 62, 140, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.private-area-pay-due-amount strong {
    color: #fff;
}

.private-area-pay-due-btn {
    display: inline-block;
    margin-top: 0;
    text-decoration: none;
    color: #fff !important;
}

.private-area-pay-due-btn:hover {
    color: #fff !important;
    text-decoration: none;
}

/* Openstaand bedrag in de tabel – onder Betaald, in het rood */
.private-area-outstanding-row td {
    color: #dc3545;
    font-weight: bold;
}

.private-area-outstanding-amount {
    color: #dc3545 !important;
}

.private-area-outstanding-due-date {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.35rem;
}

.private-area-outstanding-due-date i {
    margin-right: 0.25rem;
}

/* Buttons – FancyCarTours style */
.private-area-content .btn-primary,
.private-area-content .btn-info,
.private-area-content .btn-success,
.private-area-content .btn-default,
.private-area-content .btn-danger,
.private-area-content .btn_1,
.private-area-content input[type="submit"].btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    border: 2px solid #e83e8c;
    background: linear-gradient(135deg, #d20055 0%, #e83e8c 100%);
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(210, 0, 85, 0.3);
}

.private-area-content .btn-primary:hover,
.private-area-content .btn-info:hover,
.private-area-content .btn-success:hover,
.private-area-content .btn-default:hover,
.private-area-content .btn_1:hover,
.private-area-content input[type="submit"].btn:hover {
    background: linear-gradient(135deg, #e83e8c 0%, #ff006e 100%);
    border-color: #ff006e;
    box-shadow: 0 12px 32px rgba(232, 62, 140, 0.4);
    transform: translateY(-2px);
    color: #fff !important;
}

.private-area-content .btn-danger {
    border-color: rgba(220, 53, 69, 0.6);
    background: rgba(220, 53, 69, 0.4);
}

.private-area-content .btn-danger:hover {
    background: rgba(220, 53, 69, 0.6);
    border-color: #dc3545;
}

.private-area-content .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Countdown */
.private-area-content .countdown-profile {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.private-area-content .main_title .countdown-profile {
    background: linear-gradient(135deg, #ff006e 0%, #d20055 50%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Intro block (change photo) */
.private-area-content .main_title:first-of-type p {
    color: rgba(255, 255, 255, .9);
}

.private-area-content .main_title .img-fluid {
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .2);
    max-width: 100%;
    height: auto;
}

/* Comments block – header & form */
.private-area-comments .comments-header {
    text-align: center;
    margin-bottom: 0;
}

.private-area-comments .comments-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.private-area-comments .comments-header h2 span {
    background: linear-gradient(135deg, #ff006e 0%, #d20055 50%, #e83e8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.private-area-comments .comments-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0;
    line-height: 1.5;
    font-weight: 500;
}

.private-area-comments .comments-hr {
    margin: 1.5rem 0;
}

.private-area-comments .comments-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.private-area-comments .comments-required {
    color: #e83e8c;
    font-weight: 700;
}

.private-area-comments .comments-form-group {
    margin-bottom: 1.25rem;
}

.private-area-comments .comments-textarea {
    min-height: 100px;
    resize: vertical;
}

.private-area-comments .information-button {
    margin-top: 0.5rem;
}

/* Comments / review strips */
.private-area-content .review_strip_single {
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
}

.private-area-content .review_strip_single img.rounded-circle {
    border: 2px solid rgba(232, 62, 140, 0.4);
}

.private-area-content .review_strip_single h4,
.private-area-content .review_strip_single p {
    color: rgba(255, 255, 255, .9);
}

.private-area-content .review_strip_single small {
    color: rgba(255, 255, 255, .6);
}

/* Form controls inside private area */
.private-area-content .form-control {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    border-radius: 10px;
}

.private-area-content .form-control:focus {
    border-color: #e83e8c;
    box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.2);
}

.private-area-content label {
    color: rgba(255, 255, 255, .9);
}

/* HR between sections */
.private-area-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin: 2rem 0;
}

/* Media grid (gallery) */
.private-area-content .image-container {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.private-area-content .image-container:hover {
    border-color: rgba(232, 62, 140, .5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.private-area-content .image-container .img-fluid.rounded {
    border-radius: 0;
}

.private-area-content .add_bottom_60 h4 {
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
}

/* Owl carousel / candidates */
.private-area-content .owl-carousel .item img {
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .2);
}

/* Block 1 (custom HTML) */
.private-area-content .private_space_block {
    color: rgba(255, 255, 255, .9);
    line-height: 1.6;
}

/* Modals (all-trips-modal) – form controls dark theme */
.all-trips-modal .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
}

.all-trips-modal .form-control:focus {
    border-color: #e83e8c;
    box-shadow: 0 0 0 2px rgba(232, 62, 140, 0.2);
}

.all-trips-modal .form-group label {
    color: rgba(255, 255, 255, 0.9);
}

.all-trips-modal .table.confirm {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
}

.all-trips-modal .table.confirm td {
    border-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.all-trips-modal .card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.all-trips-modal .card-header {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.all-trips-modal .card-header .accordion-toggle {
    color: #fff !important;
}

.all-trips-modal .card-body {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 768px) {
    .private-area-card {
        padding: 20px;
    }
    .private-area-card h2 {
        font-size: 1.5rem;
    }
}
