/**
 * LCVM Public Styles
 *
 * @package    LCVM
 * @subpackage LCVM/public/css
 */

/* Container */
.lcvm-registration-form,
.lcvm-profile-dashboard,
.lcvm-consent-dashboard {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Headings */
.lcvm-registration-form h2,
.lcvm-profile-dashboard h2,
.lcvm-consent-dashboard h2 {
    color: #333 !important;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.lcvm-registration-form h3,
.lcvm-profile-dashboard h3,
.lcvm-consent-dashboard h3 {
    color: #555 !important;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Form Sections */
.form-section {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9 !important;
    border-left: 4px solid #0073aa !important;
}

/* Form Fields */
.lcvm-registration-form input[type="text"],
.lcvm-registration-form input[type="email"],
.lcvm-registration-form input[type="tel"],
.lcvm-registration-form input[type="date"],
.lcvm-registration-form input[type="number"],
.lcvm-registration-form input[type="password"],
.lcvm-registration-form select,
.lcvm-registration-form textarea,
.lcvm-profile-dashboard input[type="text"],
.lcvm-profile-dashboard input[type="email"],
.lcvm-profile-dashboard input[type="tel"],
.lcvm-profile-dashboard input[type="date"],
.lcvm-profile-dashboard input[type="number"],
.lcvm-profile-dashboard select,
.lcvm-profile-dashboard textarea,
.lcvm-consent-dashboard input[type="text"],
.lcvm-consent-dashboard select,
.lcvm-consent-dashboard textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 5px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.lcvm-registration-form input:focus,
.lcvm-registration-form select:focus,
.lcvm-registration-form textarea:focus,
.lcvm-profile-dashboard input:focus,
.lcvm-profile-dashboard select:focus,
.lcvm-profile-dashboard textarea:focus,
.lcvm-consent-dashboard input:focus,
.lcvm-consent-dashboard select:focus,
.lcvm-consent-dashboard textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.lcvm-registration-form select,
.lcvm-profile-dashboard select,
.lcvm-consent-dashboard select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M6 8L0 2l1.5-1.5L6 5 10.5.5 12 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 45px;
}

.lcvm-registration-form textarea,
.lcvm-profile-dashboard textarea,
.lcvm-consent-dashboard textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.lcvm-registration-form input[type="radio"],
.lcvm-registration-form input[type="checkbox"],
.lcvm-profile-dashboard input[type="radio"],
.lcvm-profile-dashboard input[type="checkbox"],
.lcvm-consent-dashboard input[type="radio"],
.lcvm-consent-dashboard input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    vertical-align: middle;
}

/* Buttons */
.lcvm-button {
    background: #0073aa;
    color: #fff !important;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 5px;
}

.lcvm-button:hover {
    background: #005a87;
    color: #fff !important;
}

.lcvm-button-secondary {
    background: #6c757d;
    color: #fff !important;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none !important;
    display: inline-block;
    margin: 10px 5px;
}

.lcvm-button-secondary:hover {
    background: #5a6268;
    color: #fff !important;
}

.lcvm-button-danger {
    background: #dc3545;
    color: #fff !important;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none !important;
    display: inline-block;
    margin: 10px 5px;
}

.lcvm-button-danger:hover {
    background: #c82333;
    color: #fff !important;
}

/* Profile Status */
.profile-status {
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
}

/* Profile Actions */
.profile-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Data Policy */
.lcvm-data-policy,
.data-policy {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lcvm-data-policy h2,
.lcvm-data-policy h3,
.data-policy h2,
.data-policy h3 {
    color: #333 !important;
}

.lcvm-data-policy ul,
.data-policy ul {
    margin-left: 20px;
}

/* Privacy Notice */
.privacy-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.privacy-notice strong {
    color: #856404;
}

/* Multi-Step Form */
.lcvm-progress-bar {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.lcvm-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-label {
    font-size: 12px;
    color: #999;
    text-align: center;
    transition: all 0.3s;
}

.progress-step.active .step-number {
    background: #0073aa;
    color: #fff;
}

.progress-step.active .step-label {
    color: #0073aa;
    font-weight: bold;
}

.progress-step.completed .step-number {
    background: #28a745;
    color: #fff;
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.3s;
}

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

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

/* Form Rows */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333 !important;
}

.form-group .required {
    color: #dc3545 !important;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.form-group .field-description {
    margin: 5px 0 10px 0;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Character Counter */
.char-counter {
    display: block;
    text-align: right;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.char-counter.warning {
    color: #dc3545;
    font-weight: bold;
}

/* Photo Upload */
.photo-upload-info {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.photo-upload-info ul {
    margin: 10px 0 0 20px;
}

.photo-upload-info .photo-tip {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff8e6;
    border-left: 3px solid #f7931e;
    border-radius: 4px;
    font-size: 13px;
    color: #8a6d3b;
}

.photo-preview {
    margin-top: 15px;
    text-align: center;
}

.photo-preview img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-preview .preview-name {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

/* Consent Section */
.consent-section h4 {
    color: #0073aa;
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.consent-option {
    margin: 15px 0;
    padding: 20px;
    background: #f0f8ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.consent-option:hover {
    background: #e6f4ff;
}

.consent-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #0073aa;
}

.consent-option label > div {
    flex: 1;
}

.consent-option strong {
    display: block;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.consent-option strong .required {
    color: #dc3545;
    font-weight: 700;
    margin-left: 2px;
}

.consent-option p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

.data-policy-box {
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Notices */
.lcvm-notice {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    border-left: 4px solid;
}

.lcvm-notice-error {
    background: #f8d7da !important;
    border-left-color: #dc3545 !important;
    color: #721c24 !important;
}

.lcvm-notice-success {
    background: #d4edda !important;
    border-left-color: #28a745 !important;
    color: #155724 !important;
}

.lcvm-notice-info {
    background: #d1ecf1 !important;
    border-left-color: #0073aa !important;
    color: #0c5460 !important;
}

.lcvm-notice ul {
    margin: 5px 0 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .lcvm-registration-form,
    .lcvm-profile-dashboard,
    .lcvm-consent-dashboard {
        padding: 20px;
        margin: 20px 10px;
    }

    .lcvm-button,
    .lcvm-button-secondary,
    .lcvm-button-danger {
        width: 100%;
        margin: 10px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .lcvm-progress-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .lcvm-progress-bar::before {
        display: none;
    }

    .step-label {
        font-size: 10px;
    }

    .step-number {
        width: 35px;
        height: 35px;
    }

    .form-navigation {
        flex-direction: column-reverse;
    }

    .form-navigation button {
        width: 100%;
        margin: 5px 0;
    }

    .consent-option p {
        margin-left: 0;
    }
}

/* ========================================
   PROFILE DASHBOARD STYLES
   ======================================== */

/* Profile Status Display */
.profile-status {
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid;
}

.profile-status h3 {
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.profile-status h3 .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.profile-status p {
    margin: 0;
    line-height: 1.6;
}

/* Status Color Variants */
.status-pending {
    background: #e7f3ff !important;
    border-left-color: #0073aa !important;
    color: #004a7c !important;
}

.status-approved {
    background: #d4edda !important;
    border-left-color: #28a745 !important;
    color: #155724 !important;
}

.status-clarification {
    background: #fff3cd !important;
    border-left-color: #ffc107 !important;
    color: #856404 !important;
}

.status-rejected {
    background: #f8d7da !important;
    border-left-color: #dc3545 !important;
    color: #721c24 !important;
}

.status-inactive {
    background: #e2e3e5 !important;
    border-left-color: #6c757d !important;
    color: #383d41 !important;
}

.status-matched {
    background: #d1ecf1 !important;
    border-left-color: #17a2b8 !important;
    color: #0c5460 !important;
}

.status-unknown {
    background: #f8f9fa !important;
    border-left-color: #6c757d !important;
    color: #495057 !important;
}

/* Profile Messages */
#lcvm-profile-messages {
    margin-bottom: 20px;
}

/* Profile Quick Actions */
.profile-quick-actions {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.profile-quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Profile Form Sections */
.lcvm-profile-form .section-note {
    background: #fff3cd;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #856404;
    font-size: 14px;
}

.lcvm-profile-form input:disabled {
    background: #e9ecef;
    cursor: not-allowed;
    color: #6c757d;
}

.lcvm-profile-form .form-group small {
    color: #0073aa;
    font-style: italic;
}

/* Current Photo Display */
.current-photo {
    margin-bottom: 20px;
    text-align: center;
}

.current-photo img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.current-photo p {
    margin-top: 10px;
    color: #666;
}

.no-photo {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #6c757d;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    display: flex;
    gap: 10px;
}

/* GDPR Actions Section */
.profile-gdpr-actions {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.profile-gdpr-actions h3 {
    margin-top: 0;
    color: #333;
}

.gdpr-action-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.gdpr-action-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.data-policy-notice {
    background: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}

.data-policy-notice p {
    margin: 0;
    color: #856404;
}

/* Delete Modal */
.lcvm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lcvm-modal-content {
    background: #fff;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lcvm-modal-header {
    padding: 20px;
    border-bottom: 2px solid #dc3545;
    position: relative;
}

.lcvm-modal-header h2 {
    margin: 0 !important;
    padding-right: 40px;
    color: #dc3545 !important;
    font-size: 24px !important;
}

/* Specific color for consent modal */
#lcvm-consent-modal .lcvm-modal-header {
    border-bottom: 2px solid #0073aa !important;
}

#lcvm-consent-modal .lcvm-modal-header h2 {
    color: #fff !important;
}

/* Form inside modal needs to be flex container */
#lcvm-consent-modal form,
#lcvm-delete-modal form,
.lcvm-modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.lcvm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.lcvm-modal-close:hover {
    color: #000;
}

.lcvm-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.delete-warning {
    color: #721c24;
}

.delete-warning strong {
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
}

.delete-warning ul {
    margin: 15px 0;
    padding-left: 25px;
}

.delete-warning li {
    margin: 8px 0;
}

.delete-confirmation-input {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: 2px solid #dc3545;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.delete-confirmation-input:focus {
    outline: none;
    border-color: #c82333;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.lcvm-modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-shrink: 0;
    background: #fff;
}

.lcvm-modal-cancel {
    order: 2;
}

/* ========================================
   CONSENT DASHBOARD STYLES
   ======================================== */

/* Consent Intro */
.consent-intro {
    background: #d1ecf1;
    padding: 20px;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    margin-bottom: 30px;
}

.consent-intro h3 {
    margin-top: 0;
    color: #0c5460;
}

.consent-intro p {
    margin: 10px 0 0 0;
    color: #0c5460;
    line-height: 1.6;
}

/* Consent Status Overview */
.consent-status-overview {
    margin: 30px 0;
}

.consent-status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.consent-status-card {
    padding: 20px;
    border-radius: 8px;
    border: 2px solid;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.consent-status-card .status-icon {
    font-size: 36px;
    line-height: 1;
}

.consent-status-card .status-icon .dashicons {
    width: 36px;
    height: 36px;
}

.consent-status-card h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.consent-status-card strong {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.consent-status-card .consent-date {
    color: #666;
    font-size: 13px;
}

/* Consent Card Variants */
.consent-granted {
    background: #d4edda;
    border-color: #28a745;
}

.consent-granted .status-icon {
    color: #28a745;
}

.consent-granted strong {
    color: #155724;
}

.consent-not-granted {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.consent-not-granted .status-icon {
    color: #6c757d;
}

.consent-not-granted strong {
    color: #495057;
}

/* Consent Form */
.consent-management-form {
    margin: 30px 0;
}

.consent-form-section {
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.consent-form-section h3 {
    margin-top: 0;
    color: #0073aa;
}

.consent-toggle {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.consent-toggle label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.consent-toggle input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.consent-toggle strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.consent-toggle p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.consent-important-note {
    background: #fff3cd;
    padding: 15px;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    margin: 20px 0;
}

.consent-important-note strong {
    display: block;
    margin-bottom: 8px;
    color: #856404;
}

.consent-important-note p {
    margin: 0;
    color: #856404;
    line-height: 1.6;
}

/* Consent Actions */
.consent-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

/* Consent History */
.consent-history {
    margin-top: 40px;
}

.consent-history h3 {
    margin-bottom: 15px;
}

.consent-history-table {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.consent-history-table table {
    width: 100%;
    border-collapse: collapse;
}

.consent-history-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.consent-history-table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
    color: #495057;
}

.consent-history-table tr:last-child td {
    border-bottom: none;
}

.consent-history-table tr:hover {
    background: #f8f9fa;
}

.no-consent-history {
    padding: 40px;
    text-align: center;
    color: #6c757d;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Data Protection Info */
.data-protection-info {
    margin-top: 40px;
    padding: 25px;
    background: #e7f3ff;
    border: 1px solid #b8daff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.data-protection-info h3 {
    margin-top: 0;
    color: #004a7c;
}

.data-protection-info ul {
    margin: 15px 0;
    padding-left: 25px;
}

.data-protection-info li {
    margin: 8px 0;
    color: #004a7c;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */

@media (max-width: 768px) {
    .form-actions,
    .gdpr-action-buttons,
    .consent-actions {
        flex-direction: column;
    }

    .form-actions button,
    .gdpr-action-buttons button,
    .consent-actions button {
        width: 100%;
    }

    .consent-status-cards {
        grid-template-columns: 1fr;
    }

    .lcvm-modal-content {
        margin: 20px;
    }

    .lcvm-modal-footer {
        flex-direction: column;
    }

    .lcvm-modal-footer button {
        width: 100%;
        order: 0 !important;
    }

    .consent-history-table {
        overflow-x: auto;
    }

    .consent-history-table table {
        min-width: 600px;
    }
}

/* ================================
   Success Modal Styles
   ================================ */

.lcvm-modal-overlay.lcvm-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lcvm-modal-overlay.show {
    display: flex !important;
    opacity: 1;
}

.lcvm-modal {
    position: relative;
    background: #fff;
    max-width: 500px;
    width: 90%;
    padding: 50px 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lcvm-modal-overlay.show .lcvm-modal {
    transform: scale(1);
}

.lcvm-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1;
}

.lcvm-modal-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.lcvm-modal-message {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.lcvm-modal-hint {
    color: #888;
    font-size: 14px;
    margin: 10px 0 25px 0;
    font-style: italic;
}

.lcvm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.lcvm-button {
    background: #0073aa;
    color: #fff !important;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
}

.lcvm-button:hover {
    background: #005a87;
    color: #fff !important;
    text-decoration: none !important;
}

.lcvm-button-primary {
    background: #0073aa;
}

.lcvm-button-primary:hover {
    background: #005a87;
}

.lcvm-button-secondary {
    background: #6c757d;
    color: #fff !important;
}

.lcvm-button-secondary:hover {
    background: #5a6268;
    color: #fff !important;
}

/* Success Modal Close Button */
#lcvm-success-modal .lcvm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#lcvm-success-modal .lcvm-modal-close:hover {
    background: #e2e8f0;
    color: #000;
    transform: rotate(90deg);
}

/* Responsive modal */
@media (max-width: 600px) {
    .lcvm-modal {
        padding: 40px 20px 30px;
    }

    .lcvm-modal-icon {
        font-size: 48px;
    }

    .lcvm-modal-title {
        font-size: 24px;
    }

    .lcvm-modal-message {
        font-size: 15px;
    }
}

/* ========================================
   MODERN PROFILE PAGE REDESIGN
   ======================================== */

/* CSS Variables */
.lcvm-modern-profile {
    --lcvm-primary: #ff6b35;
    --lcvm-primary-dark: #e55a2b;
    --lcvm-primary-light: #fff0eb;
    --lcvm-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --lcvm-text-dark: #2d3748;
    --lcvm-text-muted: #718096;
    --lcvm-border: #e2e8f0;
    --lcvm-bg: #f7fafc;
    --lcvm-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --lcvm-card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Dashboard Header */
.lcvm-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid var(--lcvm-border);
}

.lcvm-header-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    margin: 0 0 5px 0;
}

.lcvm-header-subtitle {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    margin: 0;
}

.lcvm-user-greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #fff;
    border-radius: 50px;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-greeting-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1 / 1;
}

.lcvm-greeting-avatar.lcvm-avatar-placeholder {
    background: var(--lcvm-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.lcvm-user-greeting span {
    font-weight: 600;
    color: var(--lcvm-text-dark);
    font-size: 15px;
}

/* Logout Button */
.lcvm-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lcvm-logout-btn:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

.lcvm-logout-btn svg {
    width: 16px;
    height: 16px;
}

/* Two Column Grid */
.lcvm-profile-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.lcvm-profile-grid > * {
    min-width: 0;
    box-sizing: border-box;
}

/* Profile Card */
.lcvm-profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--lcvm-card-shadow);
    width: 100%;
    box-sizing: border-box;
}

/* Large Avatar */
.lcvm-avatar-large {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    position: relative;
}

.lcvm-avatar-large img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1 / 1;
    border: 5px solid #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.lcvm-avatar-placeholder-large {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.lcvm-avatar-placeholder-large span {
    font-size: 48px;
    font-weight: 700;
    color: #a0aec0;
}

.lcvm-no-photo-text {
    font-size: 12px;
    color: #a0aec0;
    margin: 5px 0 0 0;
}

.lcvm-photo-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: var(--lcvm-gradient);
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.lcvm-photo-edit-btn:hover {
    transform: scale(1.1);
}

/* Profile Title */
.lcvm-profile-title {
    margin-bottom: 20px;
}

.lcvm-profile-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    margin: 0 0 8px 0;
    border: none;
    padding: 0;
}

.lcvm-profile-meta {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    margin: 0;
}

.lcvm-meta-divider {
    margin: 0 8px;
    opacity: 0.5;
}

.lcvm-last-updated {
    font-size: 12px;
    color: #a0aec0;
    margin: 8px 0 0 0;
}

/* Profile Completion */
.lcvm-profile-completion {
    background: var(--lcvm-bg);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}

.lcvm-completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.lcvm-completion-header span:first-child {
    color: var(--lcvm-text-muted);
}

.lcvm-completion-percent {
    color: var(--lcvm-primary);
}

.lcvm-completion-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.lcvm-completion-fill {
    height: 100%;
    background: var(--lcvm-gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Info List */
.lcvm-info-list {
    text-align: left;
    background: var(--lcvm-bg);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.lcvm-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--lcvm-border);
}

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

.lcvm-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lcvm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lcvm-info-value {
    font-size: 14px;
    color: var(--lcvm-text-dark);
    font-weight: 500;
    text-align: right;
}

/* Buttons */
.lcvm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--lcvm-gradient);
    color: #fff;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lcvm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: #fff;
}

.lcvm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--lcvm-text-dark);
    padding: 12px 24px;
    border: 2px solid var(--lcvm-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lcvm-btn-secondary:hover {
    border-color: var(--lcvm-primary);
    color: var(--lcvm-primary);
    background: var(--lcvm-primary-light);
}

.lcvm-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #dc2626;
    padding: 12px 24px;
    border: 2px solid #fecaca;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lcvm-btn-danger:hover {
    background: #fef2f2;
    border-color: #f87171;
}

/* Profile Sidebar */
.lcvm-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}

/* Sidebar Cards */
.lcvm-sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.lcvm-card-header h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--lcvm-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.lcvm-card-header svg {
    color: var(--lcvm-primary);
}

/* Status Card */
.lcvm-status-card.status-pending { border-left: 4px solid #3b82f6; }
.lcvm-status-card.status-approved { border-left: 4px solid #22c55e; }
.lcvm-status-card.status-clarification { border-left: 4px solid #f59e0b; }
.lcvm-status-card.status-rejected { border-left: 4px solid #ef4444; }
.lcvm-status-card.status-inactive { border-left: 4px solid #6b7280; }
.lcvm-status-card.status-matched { border-left: 4px solid #ec4899; }

.lcvm-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px;
}

.lcvm-status-badge.status-pending { background: #dbeafe !important; color: #1d4ed8 !important; }
.lcvm-status-badge.status-approved { background: #fff !important; color: #16a34a !important; }
.lcvm-status-badge.status-clarification { background: #fef3c7 !important; color: #d97706 !important; }
.lcvm-status-badge.status-rejected { background: #fee2e2 !important; color: #dc2626 !important; }
.lcvm-status-badge.status-inactive { background: #f3f4f6 !important; color: #4b5563 !important; }
.lcvm-status-badge.status-matched { background: #fce7f3 !important; color: #db2777 !important; }

.lcvm-status-message {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Admin Message Card */
.lcvm-admin-message-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    border: 2px solid #f59e0b !important;
    animation: lcvm-pulse 2s ease-in-out infinite;
}

@keyframes lcvm-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.lcvm-admin-message-card .lcvm-card-header {
    color: #b45309 !important;
}

.lcvm-admin-message-card .lcvm-card-header h3 {
    color: #b45309 !important;
}

.lcvm-admin-message-content {
    background: #fff !important;
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #f59e0b !important;
    font-size: 14px;
    line-height: 1.7;
    color: var(--lcvm-text-dark);
}

/* Quick Actions */
.lcvm-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lcvm-action-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--lcvm-bg);
    border: 1px solid var(--lcvm-border);
    border-radius: 12px;
    color: var(--lcvm-text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.lcvm-action-link:hover {
    background: var(--lcvm-primary-light);
    border-color: var(--lcvm-primary);
    color: var(--lcvm-primary);
}

.lcvm-action-link svg {
    color: var(--lcvm-primary);
    flex-shrink: 0;
}

/* Section Cards */
.lcvm-profile-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.lcvm-section-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--lcvm-card-shadow);
    overflow: hidden;
}

.lcvm-section-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 12px;
}

.lcvm-section-header:hover {
    background: var(--lcvm-bg);
}

.lcvm-section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    flex: 1;
}

.lcvm-section-header h3 svg {
    color: var(--lcvm-primary);
}

.lcvm-section-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lcvm-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--lcvm-primary-light);
    color: var(--lcvm-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.lcvm-section-toggle {
    background: none;
    border: none;
    color: var(--lcvm-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.lcvm-section-toggle:hover {
    background: var(--lcvm-bg);
}

.lcvm-section-card.expanded .lcvm-section-toggle svg {
    transform: rotate(180deg);
}

.lcvm-section-content {
    display: none;
    padding: 0 24px 24px;
    border-top: 1px solid var(--lcvm-border);
}

.lcvm-section-card.expanded .lcvm-section-content {
    display: block;
    padding-top: 20px;
}

/* Detail Grid */
.lcvm-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lcvm-detail-item {
    padding: 12px 0;
}

.lcvm-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--lcvm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.lcvm-detail-value {
    font-size: 15px;
    color: var(--lcvm-text-dark);
    font-weight: 500;
}

.lcvm-detail-full {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lcvm-border);
}

.lcvm-detail-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lcvm-text-dark);
    margin: 8px 0 0 0;
}

.lcvm-empty-text {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    font-style: italic;
    margin: 0;
}

/* GDPR Section */
.lcvm-gdpr-section {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--lcvm-card-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lcvm-gdpr-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lcvm-gdpr-header svg {
    color: var(--lcvm-text-muted);
}

.lcvm-gdpr-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin: 0 0 4px 0;
}

.lcvm-gdpr-header p {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    margin: 0;
}

/* Modal body state */
body.lcvm-modal-open {
    overflow: hidden;
}

/* Modal Styles */
.lcvm-modal-overlay {
    /* Define CSS variables for modals (since they're siblings, not children of .lcvm-modern-profile) */
    --lcvm-primary: #ff6b35;
    --lcvm-primary-dark: #e55a2b;
    --lcvm-primary-light: #fff0eb;
    --lcvm-gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --lcvm-text-dark: #2d3748;
    --lcvm-text-muted: #718096;
    --lcvm-border: #e2e8f0;
    --lcvm-bg: #f7fafc;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.lcvm-modal-overlay.lcvm-modal-visible {
    display: flex !important;
    animation: lcvm-modal-fade-in 0.2s ease-out;
}

@keyframes lcvm-modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lcvm-modal-visible .lcvm-modal-content {
    animation: lcvm-modal-slide-in 0.2s ease-out;
}

@keyframes lcvm-modal-slide-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lcvm-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lcvm-modal-large {
    max-width: 640px;
}

.lcvm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--lcvm-border);
}

.lcvm-modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    margin: 0;
}

.lcvm-modal-header-danger {
    background: #fef2f2;
    border-bottom-color: #fecaca;
}

.lcvm-modal-header-danger h2 {
    color: #dc2626;
}

.lcvm-modal-close {
    width: 36px;
    height: 36px;
    background: var(--lcvm-bg);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--lcvm-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lcvm-modal-close:hover {
    background: var(--lcvm-border);
    color: var(--lcvm-text-dark);
}

.lcvm-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
}

/* Scrollbar styling for modal */
.lcvm-modal-body::-webkit-scrollbar {
    width: 8px;
}

.lcvm-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.lcvm-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.lcvm-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lcvm-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--lcvm-border);
    background: var(--lcvm-bg);
}

/* Edit Sections in Modal */
.lcvm-edit-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lcvm-border);
}

.lcvm-edit-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.lcvm-edit-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
}

/* Photo Upload */
.lcvm-photo-upload-area {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

.lcvm-current-photo-preview img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1 / 1;
    border: 3px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lcvm-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 3px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.lcvm-photo-upload-controls {
    flex: 1;
}

.lcvm-photo-upload-controls .lcvm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #2d3748;
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lcvm-photo-upload-controls .lcvm-btn-secondary:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #fff0eb;
}

.lcvm-photo-hint {
    font-size: 12px;
    color: #718096;
    margin: 10px 0 0 0;
}

/* Form Elements */
.lcvm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.lcvm-form-group {
    margin-bottom: 12px;
}

.lcvm-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    color: var(--lcvm-text-dark, #2d3748);
    margin-bottom: 8px;
}

.lcvm-form-group input,
.lcvm-form-group select,
.lcvm-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border: 2px solid var(--lcvm-border, #e2e8f0);
    border-radius: 10px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fff;
    color: #2d3748;
    transition: all 0.2s;
    box-sizing: border-box;
}

.lcvm-form-group input:focus,
.lcvm-form-group select:focus,
.lcvm-form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    border-color: var(--lcvm-primary, #ff6b35);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.lcvm-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23718096" d="M6 8L0 2l1.5-1.5L6 5 10.5.5 12 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px;
}

.lcvm-form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.lcvm-field-hint {
    font-size: 12px;
    color: #718096;
    color: var(--lcvm-text-muted, #718096);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.lcvm-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #718096;
    color: var(--lcvm-text-muted, #718096);
    margin-top: 4px;
}

/* Edit Profile Modal Specific Styles */
#lcvm-edit-modal .lcvm-modal-body {
    padding: 0;
}

#lcvm-edit-modal .lcvm-edit-section {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

#lcvm-edit-modal .lcvm-edit-section:last-child {
    border-bottom: none;
}

#lcvm-edit-modal .lcvm-edit-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff6b35;
    display: inline-block;
}

#lcvm-edit-modal .lcvm-form-group input,
#lcvm-edit-modal .lcvm-form-group select,
#lcvm-edit-modal .lcvm-form-group textarea {
    background-color: #f7fafc;
    border-color: #e2e8f0;
}

#lcvm-edit-modal .lcvm-form-group input:focus,
#lcvm-edit-modal .lcvm-form-group select:focus,
#lcvm-edit-modal .lcvm-form-group textarea:focus {
    background-color: #fff;
    border-color: #ff6b35;
}

#lcvm-edit-modal .lcvm-modal-footer {
    padding: 20px 24px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

/* Export Options */
.lcvm-export-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.lcvm-export-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--lcvm-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.lcvm-export-option:hover {
    border-color: var(--lcvm-primary);
    background: var(--lcvm-primary-light);
}

.lcvm-export-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--lcvm-primary);
}

.lcvm-export-option-content {
    flex: 1;
}

.lcvm-export-option-content strong {
    display: block;
    font-size: 15px;
    color: var(--lcvm-text-dark);
    margin-bottom: 2px;
}

.lcvm-export-option-content span {
    font-size: 13px;
    color: var(--lcvm-text-muted);
}

/* Delete Warning */
.lcvm-delete-warning {
    text-align: center;
    padding: 20px 0;
}

.lcvm-delete-warning svg {
    color: #dc2626;
    margin-bottom: 16px;
}

.lcvm-delete-warning h3 {
    font-size: 18px;
    color: #dc2626;
    margin: 0 0 16px 0;
}

.lcvm-delete-warning p {
    color: var(--lcvm-text-muted);
    margin: 0 0 16px 0;
}

.lcvm-delete-warning ul {
    text-align: left;
    margin: 0 0 20px 20px;
    padding: 0;
    color: var(--lcvm-text-dark);
}

.lcvm-delete-warning li {
    margin-bottom: 8px;
}

.lcvm-delete-confirm-input {
    text-align: left;
    margin-top: 20px;
}

.lcvm-delete-confirm-input label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin-bottom: 8px;
}

.lcvm-delete-confirm-input input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #fecaca;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    letter-spacing: 2px;
}

.lcvm-delete-confirm-input input:focus {
    outline: none;
    border-color: #dc2626;
}

/* Responsive */
@media (max-width: 900px) {
    .lcvm-profile-grid {
        grid-template-columns: 1fr;
    }

    .lcvm-profile-sidebar {
        order: -1;
        max-width: none;
    }

    .lcvm-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .lcvm-modern-profile {
        padding: 10px;
    }

    .lcvm-dashboard-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .lcvm-header-content h1 {
        font-size: 22px;
    }

    .lcvm-profile-card {
        padding: 24px 20px;
    }

    .lcvm-avatar-large,
    .lcvm-avatar-large img,
    .lcvm-avatar-placeholder-large {
        width: 120px;
        height: 120px;
    }

    .lcvm-avatar-placeholder-large span {
        font-size: 36px;
    }

    .lcvm-section-header {
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .lcvm-section-summary {
        width: 100%;
        margin-top: 10px;
    }

    .lcvm-section-content {
        padding: 0 20px 20px;
    }

    .lcvm-gdpr-section {
        flex-direction: column;
        text-align: center;
    }

    .lcvm-gdpr-header {
        flex-direction: column;
        text-align: center;
    }

    .lcvm-form-row {
        grid-template-columns: 1fr;
    }

    .lcvm-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .lcvm-modal-footer {
        flex-direction: column;
    }

    .lcvm-modal-footer button {
        width: 100%;
    }

    .lcvm-photo-upload-area {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   CONSENT COMPONENTS
   ===================================================== */

/* Consent Card in Sidebar */
.lcvm-consent-card {
    border-left: 4px solid var(--lcvm-primary);
}

.lcvm-consent-card .lcvm-card-header svg {
    color: var(--lcvm-primary);
}

.lcvm-consent-status-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.lcvm-consent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--lcvm-bg);
    border-radius: 10px;
    font-size: 13px;
}

.lcvm-consent-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lcvm-consent-item.consent-granted .lcvm-consent-indicator {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.lcvm-consent-item.consent-not-granted .lcvm-consent-indicator {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.lcvm-consent-label {
    flex: 1;
    color: var(--lcvm-text-dark);
    font-weight: 500;
}

.lcvm-consent-value {
    font-weight: 600;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}

.lcvm-consent-item.consent-granted .lcvm-consent-value {
    background: #dcfce7;
    color: #16a34a;
}

.lcvm-consent-item.consent-not-granted .lcvm-consent-value {
    background: #fee2e2;
    color: #dc2626;
}

.lcvm-btn-small {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
}

/* Consent Modal Styles */
.lcvm-consent-intro {
    background: var(--lcvm-primary-light);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.lcvm-consent-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--lcvm-text-dark);
}

.lcvm-consent-current-status {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.lcvm-consent-status-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid var(--lcvm-border);
}

.lcvm-consent-status-row.consent-granted {
    background: #f0fdf4;
    border-color: #86efac;
}

.lcvm-consent-status-row.consent-not-granted {
    background: #fef2f2;
    border-color: #fecaca;
}

.lcvm-consent-status-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.lcvm-consent-status-row.consent-granted .lcvm-consent-status-icon {
    background: #dcfce7;
    color: #16a34a;
}

.lcvm-consent-status-row.consent-not-granted .lcvm-consent-status-icon {
    background: #fee2e2;
    color: #dc2626;
}

.lcvm-consent-status-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lcvm-consent-status-info strong {
    font-size: 14px;
    color: var(--lcvm-text-dark);
}

.lcvm-consent-status-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.lcvm-consent-status-badge.granted {
    background: #22c55e;
    color: #fff;
}

.lcvm-consent-status-badge.not-granted {
    background: #ef4444;
    color: #fff;
}

/* Consent Options */
.lcvm-consent-options {
    margin-bottom: 20px;
}

.lcvm-consent-options h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lcvm-primary);
    display: inline-block;
}

.lcvm-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--lcvm-bg);
    border: 2px solid var(--lcvm-border);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.lcvm-consent-checkbox:last-child {
    margin-bottom: 0;
}

.lcvm-consent-checkbox:hover {
    border-color: var(--lcvm-primary);
    background: var(--lcvm-primary-light);
}

.lcvm-consent-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 2px 0 0 0;
    accent-color: var(--lcvm-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.lcvm-checkbox-mark {
    display: none;
}

.lcvm-consent-option-text {
    flex: 1;
}

.lcvm-consent-option-text strong {
    display: block;
    font-size: 15px;
    color: var(--lcvm-text-dark);
    margin-bottom: 6px;
}

.lcvm-consent-option-text span {
    font-size: 13px;
    color: var(--lcvm-text-muted);
    line-height: 1.5;
}

/* Consent Notes */
.lcvm-consent-notes {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 16px;
}

.lcvm-consent-notes h5 {
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    margin: 0 0 10px 0;
}

.lcvm-consent-notes ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.lcvm-consent-notes li {
    font-size: 13px;
    color: #92400e;
    margin-bottom: 6px;
    line-height: 1.5;
}

.lcvm-consent-notes li:last-child {
    margin-bottom: 0;
}

/* Consent Modal Specific */
#lcvm-consent-modal .lcvm-modal-content {
    max-width: 520px;
}

#lcvm-consent-modal .lcvm-modal-header {
    background: linear-gradient(135deg, var(--lcvm-primary) 0%, #f7931e 100%);
}

#lcvm-consent-modal .lcvm-modal-header h2 {
    color: #fff;
}

#lcvm-consent-modal .lcvm-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#lcvm-consent-modal .lcvm-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive for consent components */
@media (max-width: 600px) {
    .lcvm-consent-status-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lcvm-consent-checkbox {
        padding: 14px;
    }

    .lcvm-consent-option-text strong {
        font-size: 14px;
    }

    .lcvm-consent-option-text span {
        font-size: 12px;
    }
}

/* ================================
   My Matches Page Styles
   ================================ */

.lcvm-matches-page {
    background: var(--lcvm-bg);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Matches Page Header Customization */
.lcvm-matches-page .lcvm-user-greeting {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Back to Profile Link in Header */
.lcvm-matches-page .lcvm-user-greeting .lcvm-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid var(--lcvm-border);
    border-radius: 50px;
    color: var(--lcvm-text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-matches-page .lcvm-user-greeting .lcvm-btn-link:hover {
    border-color: var(--lcvm-primary);
    color: var(--lcvm-primary);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: var(--lcvm-card-shadow-hover);
    text-decoration: none;
}

/* Stats Summary */
.lcvm-matches-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.lcvm-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lcvm-stat-icon svg {
    width: 24px;
    height: 24px;
}

.lcvm-stat-pending {
    background: #fef3c7;
    color: #b45309;
}

.lcvm-stat-intro {
    background: #dcfce7;
    color: #16a34a;
}

.lcvm-stat-potential {
    background: #ffe4e6;
    color: #e11d48;
}

.lcvm-stat-info {
    display: flex;
    flex-direction: column;
}

.lcvm-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    line-height: 1;
}

.lcvm-stat-label {
    font-size: 13px;
    color: var(--lcvm-text-muted);
    margin-top: 4px;
}

/* Section Styles */
.lcvm-matches-page .lcvm-section {
    margin-bottom: 48px;
}

.lcvm-section-header {
    margin-bottom: 24px;
}

.lcvm-section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    margin: 0 0 8px 0;
}

.lcvm-section-header h2 svg {
    color: var(--lcvm-primary);
}

.lcvm-section-header p {
    color: var(--lcvm-text-muted);
    font-size: 14px;
    margin: 0;
}

.lcvm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.lcvm-badge-warning {
    background: #fef3c7;
    color: #b45309;
}

/* Matches Grid */
.lcvm-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.lcvm-introductions-section .lcvm-matches-grid {
    padding-top: 90px;
    row-gap: 100px;
}

/* Match Card */
.lcvm-match-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.lcvm-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

.lcvm-pending-card {
    background: linear-gradient(to bottom, #fffbeb 0%, #fff 60px);
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.1), 0 2px 4px -1px rgba(251, 191, 36, 0.06);
}

.lcvm-pending-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 20px 25px -5px rgba(251, 191, 36, 0.15), 0 10px 10px -5px rgba(251, 191, 36, 0.1);
}

.lcvm-introduction-card {
    background: linear-gradient(to bottom, #f0f9ff 0%, #fff 120px);
    border: 2px solid #bfdbfe;
    cursor: pointer;
    padding-top: 90px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.lcvm-introduction-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.15), 0 10px 10px -5px rgba(59, 130, 246, 0.1);
}

.lcvm-match-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--lcvm-border);
}

.lcvm-introduction-card .lcvm-match-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 0 16px 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.lcvm-match-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.lcvm-match-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lcvm-match-avatar svg {
    color: #94a3b8;
}

.lcvm-avatar-anonymous {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.lcvm-avatar-anonymous svg {
    color: #fff;
}

.lcvm-introduction-card .lcvm-match-avatar {
    width: 160px;
    height: 160px;
    border-color: #60a5fa;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-width: 4px;
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2), 0 0 0 8px #fff;
}

.lcvm-introduction-card .lcvm-match-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lcvm-introduction-card .lcvm-match-avatar svg {
    color: #fff;
    width: 64px;
    height: 64px;
}

.lcvm-match-title {
    flex: 1;
    min-width: 0;
}

.lcvm-match-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lcvm-introduction-card .lcvm-match-title {
    width: 100%;
}

.lcvm-introduction-card .lcvm-match-title h3 {
    font-size: 18px;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.lcvm-match-type {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
}

.lcvm-match-date {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

/* Status Badges */
.lcvm-status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lcvm-status-pending {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
}

.lcvm-status-introduced {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
}

.lcvm-status-active {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #fff;
}

.lcvm-status-inactive {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Match Summary */
.lcvm-match-summary {
    padding: 20px;
}

.lcvm-introduction-card .lcvm-match-summary {
    padding: 0 16px 16px 16px;
}

.lcvm-match-summary h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin: 0 0 8px 0;
}

.lcvm-privacy-note {
    font-size: 12px;
    color: var(--lcvm-text-muted);
    font-style: italic;
    margin: 0 0 16px 0;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}

/* Match Details Grid */
.lcvm-match-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.lcvm-introduction-card .lcvm-match-details {
    gap: 8px;
}

.lcvm-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
    min-height: 56px;
    justify-content: center;
}

.lcvm-detail-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.lcvm-detail-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lcvm-detail-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    line-height: 1.4;
    word-break: break-word;
}

.lcvm-detail-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

/* Coordinator Notes */
.lcvm-coordinator-notes {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fffbeb;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.lcvm-coordinator-notes strong {
    font-size: 12px;
    color: #b45309;
    display: block;
    margin-bottom: 4px;
}

.lcvm-coordinator-notes p {
    font-size: 14px;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

/* Match Actions */
.lcvm-match-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--lcvm-border);
}

.lcvm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.lcvm-btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.lcvm-btn:hover:before {
    width: 300px;
    height: 300px;
}

.lcvm-btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(255, 107, 53, 0.3), 0 2px 4px -1px rgba(255, 107, 53, 0.2);
}

.lcvm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 107, 53, 0.4), 0 4px 6px -2px rgba(255, 107, 53, 0.3);
}

.lcvm-btn-secondary {
    background: #fff;
    color: var(--lcvm-text-dark);
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lcvm-btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* Introduction Card - About Sections */
.lcvm-intro-details {
    display: block;
    padding: 0 16px 16px;
}

.lcvm-introduction-card .lcvm-detail-row {
    margin-bottom: 8px;
}

.lcvm-introduction-card .lcvm-detail-row:last-child {
    margin-bottom: 0;
}

.lcvm-about-section {
    display: none; /* Hide About and Looking For from cards - show only in modal */
}

.lcvm-about-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lcvm-about-section h4:before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.lcvm-about-section p {
    font-size: 14px;
    color: var(--lcvm-text-dark);
    line-height: 1.7;
    margin: 0;
}

/* Contact Info */
.lcvm-match-contact {
    padding: 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.lcvm-match-contact h4 {
    font-size: 11px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
}

.lcvm-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lcvm-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.lcvm-contact-item svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.lcvm-contact-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(4px);
    color: #2563eb;
}

/* Empty State */
.lcvm-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lcvm-empty-icon svg {
    color: #94a3b8;
}

.lcvm-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin: 0 0 8px 0;
}

.lcvm-empty-state p {
    font-size: 14px;
    color: var(--lcvm-text-muted);
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* History Section */
.lcvm-history-list {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--lcvm-card-shadow);
    overflow: hidden;
}

.lcvm-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lcvm-border);
}

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

.lcvm-history-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lcvm-history-date {
    font-size: 13px;
    color: var(--lcvm-text-muted);
    min-width: 100px;
}

.lcvm-history-type {
    font-size: 14px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
}

.lcvm-history-summary {
    font-size: 13px;
    color: var(--lcvm-text-muted);
}

/* Help Section */
.lcvm-help-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--lcvm-card-shadow);
}

.lcvm-help-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lcvm-help-icon svg {
    color: #0284c7;
}

.lcvm-help-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
    margin: 0 0 12px 0;
}

.lcvm-help-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lcvm-help-content li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--lcvm-text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.lcvm-help-content li:last-child {
    margin-bottom: 0;
}

.lcvm-help-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--lcvm-primary);
}

/* Alerts */
.lcvm-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.lcvm-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.lcvm-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Spinner */
.lcvm-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: lcvm-spin 0.8s linear infinite;
}

@keyframes lcvm-spin {
    to { transform: rotate(360deg); }
}

/* Responsive for Matches Page */
@media (max-width: 900px) {
    .lcvm-matches-stats {
        grid-template-columns: 1fr;
    }

    .lcvm-matches-grid {
        grid-template-columns: 1fr;
    }

    .lcvm-detail-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .lcvm-help-card {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .lcvm-matches-page .lcvm-dashboard-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .lcvm-user-greeting .lcvm-btn-link {
        width: 100%;
        justify-content: center;
    }

    .lcvm-match-header {
        flex-wrap: wrap;
    }

    .lcvm-status-badge {
        margin-left: auto;
    }

    .lcvm-match-details {
        grid-template-columns: 1fr;
    }

    .lcvm-detail-row {
        grid-template-columns: 1fr;
    }

    .lcvm-match-actions {
        flex-direction: column;
    }

    .lcvm-history-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ===================================
   Profile Modal Styles (My Matches Page)
   =================================== */

#lcvm-profile-modal.lcvm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#lcvm-profile-modal.lcvm-modal-overlay[style*="display: block"],
#lcvm-profile-modal.lcvm-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

.lcvm-modal-container {
    position: relative;
    background: #fff;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lcvm-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
}

.lcvm-modal-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
}

.lcvm-modal-close {
    background: #f1f5f9 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    color: #64748b !important;
}

.lcvm-modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.lcvm-modal-close svg {
    color: #64748b;
}

.lcvm-modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 81px);
    padding: 28px;
}

.lcvm-modal-profile {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lcvm-modal-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
    border-radius: 16px;
}

.lcvm-modal-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.lcvm-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lcvm-modal-avatar svg {
    color: #fff;
}

.lcvm-modal-basic-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lcvm-modal-basic-info p {
    margin: 0;
    font-size: 15px;
    color: var(--lcvm-text-muted);
}

.lcvm-modal-date {
    font-size: 13px !important;
    font-style: italic;
}

.lcvm-modal-age,
.lcvm-modal-gender {
    font-weight: 600;
    color: var(--lcvm-text-dark) !important;
}

.lcvm-modal-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #3b82f6 !important;
}

.lcvm-modal-location svg {
    flex-shrink: 0;
}

.lcvm-modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.lcvm-modal-detail {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.lcvm-modal-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lcvm-text-muted);
    margin-bottom: 6px;
}

.lcvm-modal-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--lcvm-text-dark);
}

.lcvm-modal-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
}

.lcvm-modal-section h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--lcvm-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lcvm-modal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #4ade80, #22c55e);
    border-radius: 2px;
}

.lcvm-modal-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--lcvm-text-body);
}

.lcvm-modal-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.lcvm-modal-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.05) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lcvm-modal-contact-item:hover {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-color: rgba(74, 222, 128, 0.4);
    transform: translateX(4px);
}

.lcvm-modal-contact-item svg {
    flex-shrink: 0;
    color: #10b981;
}

/* Make introduction cards clickable */
.lcvm-introduction-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lcvm-introduction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(74, 222, 128, 0.25), 0 12px 20px -8px rgba(74, 222, 128, 0.15);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .lcvm-modal {
        padding: 0;
    }

    .lcvm-modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .lcvm-modal-body {
        max-height: calc(100vh - 81px);
        padding: 20px;
    }

    .lcvm-modal-avatar {
        width: 150px;
        height: 150px;
    }

    .lcvm-modal-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Fix Edit Profile Modal Footer Visibility */
#lcvm-edit-modal .lcvm-modal-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#lcvm-edit-modal .lcvm-modal-header {
    flex-shrink: 0;
}

#lcvm-edit-modal form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#lcvm-edit-modal .lcvm-modal-body {
    flex: 1;
    overflow-y: auto;
}

#lcvm-edit-modal .lcvm-modal-footer {
    flex-shrink: 0;
}

/* Radio Button Groups - Display Horizontally */
.radio-group,
.lcvm-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label,
.lcvm-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.radio-label input[type="radio"],
.lcvm-radio-label input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* ================================
   UK Residency Check Screen
   ================================ */

.lcvm-uk-check-screen {
    text-align: center;
}

.lcvm-uk-check-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 0;
}

.lcvm-uk-check-icon {
    margin-bottom: 20px;
    color: #0073aa;
}

.lcvm-uk-check-icon svg {
    width: 64px;
    height: 64px;
}

.lcvm-uk-check-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.lcvm-uk-check-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.lcvm-uk-check-warning {
    color: #b91c1c;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 10px 15px;
    background: #fef2f2;
    border-radius: 6px;
    border-left: 3px solid #dc2626;
}

.lcvm-uk-check-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 320px;
    margin: 0 auto;
}

.lcvm-button-large {
    padding: 15px 30px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
}

/* Non-UK Resident Message */
.lcvm-non-uk-message {
    text-align: center;
}

.lcvm-non-uk-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lcvm-non-uk-icon {
    margin-bottom: 20px;
    color: #d97706;
}

.lcvm-non-uk-icon svg {
    width: 64px;
    height: 64px;
}

.lcvm-non-uk-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.lcvm-non-uk-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.lcvm-non-uk-actions {
    margin-top: 30px;
}
