/**
 * Crea KYC Frontend Styles
 * Matching Crea luxury dark & gold aesthetic
 */

.crea-kyc-account-wrap {
    background: #0d1726;
    border: 1px solid rgba(159, 179, 217, 0.2);
    border-radius: 16px;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(15, 30, 51, 0.5);
    margin-bottom: 30px;
}

.crea-kyc-heading {
    color: #c9a24d !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 12px;
}

.crea-kyc-desc {
    color: #cfd6e6;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.crea-kyc-card {
    background: #142238;
    border: 1px solid rgba(201, 162, 77, 0.25);
    border-radius: 12px;
    padding: 24px;
}

.crea-kyc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.crea-kyc-user-email {
    color: #cfd6e6;
}

.crea-kyc-dossier-tag {
    background: rgba(201, 162, 77, 0.15);
    color: #c9a24d;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
}

/* Button & Badge Styles */
.crea-kyc-btn-wrapper {
    display: inline-block;
    position: relative;
}

.crea-kyc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 13px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    outline: none;
}

/* Specific Button States from Documentation */
.crea-kyc-btn.btn-null,
.crea-kyc-btn.btn-complete {
    background: #c9a24d;
    color: #0d1726;
    box-shadow: 0 4px 15px rgba(201, 162, 77, 0.3);
}

.crea-kyc-btn.btn-null:hover,
.crea-kyc-btn.btn-complete:hover {
    background: #deb35a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 77, 0.45);
}

.crea-kyc-btn.btn-opened {
    background: #17a2b8;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.crea-kyc-btn.btn-opened:hover {
    background: #138496;
    transform: translateY(-2px);
}

.crea-kyc-btn.btn-under-review {
    background: #ffc107;
    color: #212529;
    cursor: not-allowed;
    opacity: 0.85;
}

.crea-kyc-btn.btn-rejected {
    background: #dc3545;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.crea-kyc-btn.btn-rejected:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.crea-kyc-btn.btn-update-requested {
    background: #fd7e14;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.crea-kyc-btn.btn-update-requested:hover {
    background: #e06d10;
    transform: translateY(-2px);
}

/* Green Badge for accepted (KYC Verified) */
.crea-kyc-badge.crea-kyc-badge-accepted {
    display: inline-flex;
    align-items: center;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    color: #28a745;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 22px;
    border-radius: 6px;
    cursor: default;
}

/* Spinner Icon */
.crea-kyc-spinner-icon {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #212529;
    border-radius: 50%;
    animation: creaKycSpin 0.8s linear infinite;
    display: inline-block;
}

.crea-kyc-btn.loading .crea-kyc-spinner-icon {
    border-top-color: currentColor;
}

@keyframes creaKycSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Status Notices */
.crea-kyc-notice {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.crea-kyc-notice p {
    margin: 0;
}

.crea-kyc-notice.notice-success {
    background: rgba(40, 167, 69, 0.12);
    border-left: 4px solid #28a745;
    color: #75d98c;
}

.crea-kyc-notice.notice-warning {
    background: rgba(255, 193, 7, 0.12);
    border-left: 4px solid #ffc107;
    color: #ffd866;
}

.crea-kyc-notice.notice-info {
    background: rgba(23, 162, 184, 0.12);
    border-left: 4px solid #17a2b8;
    color: #72d9e8;
}

.crea-kyc-notice.notice-danger {
    background: rgba(220, 53, 69, 0.12);
    border-left: 4px solid #dc3545;
    color: #f17985;
}

.crea-kyc-notice.notice-neutral {
    background: rgba(201, 162, 77, 0.08);
    border-left: 4px solid #c9a24d;
    color: #cfd6e6;
}

/* Feedback messages */
.crea-kyc-feedback {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
}

.crea-kyc-feedback.error {
    color: #dc3545;
}

.crea-kyc-feedback.success {
    color: #28a745;
}
