/* Napoleon Contratos - Client Area Styles (Lagom Compatible) */

.nc-fidelity-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.nc-fidelity-card {
    flex: 1;
    min-width: 200px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.nc-fidelity-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.15);
}

.nc-fidelity-card.selected {
    border-color: #007bff;
    background: #f0f7ff;
}

.nc-fidelity-card .nc-months {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.nc-fidelity-card .nc-discount {
    font-size: 18px;
    color: #28a745;
    font-weight: 600;
    margin: 8px 0;
}

.nc-fidelity-card .nc-price {
    font-size: 14px;
    color: #666;
}

.nc-fidelity-card .nc-savings {
    font-size: 12px;
    color: #007bff;
    margin-top: 8px;
}

.nc-fidelity-card .nc-no-fidelity {
    color: #999;
}

/* Contract signing */
.nc-contract-view {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 15px 0;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
}

.nc-consent-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.nc-consent-section label {
    font-weight: 400;
    margin-left: 8px;
}

.nc-otp-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.nc-otp-section input {
    width: 200px;
    display: inline-block;
    text-align: center;
    font-size: 20px;
    letter-spacing: 8px;
}

.nc-signature-pad {
    border: 2px dashed #ccc;
    border-radius: 6px;
    background: #fff;
    margin: 15px 0;
}

.nc-signature-pad canvas {
    width: 100%;
    height: 200px;
    cursor: crosshair;
}

/* Document upload */
.nc-upload-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 10px 0;
}

.nc-upload-zone:hover,
.nc-upload-zone.dragover {
    border-color: #007bff;
    background: #f0f7ff;
}

.nc-upload-zone .nc-upload-icon {
    font-size: 36px;
    color: #999;
    margin-bottom: 10px;
}

.nc-doc-list {
    list-style: none;
    padding: 0;
}

.nc-doc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
}

.nc-doc-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.nc-doc-status.pending { background: #fff3cd; color: #856404; }
.nc-doc-status.uploaded { background: #d1ecf1; color: #0c5460; }
.nc-doc-status.approved { background: #d4edda; color: #155724; }
.nc-doc-status.rejected { background: #f8d7da; color: #721c24; }

/* Contracts list */
.nc-contracts-table {
    width: 100%;
}

.nc-contracts-table td {
    vertical-align: middle;
}

.nc-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.nc-status-badge.active { background: #d4edda; color: #155724; }
.nc-status-badge.pending { background: #fff3cd; color: #856404; }
.nc-status-badge.expired { background: #e2e3e5; color: #383d41; }
.nc-status-badge.cancelled { background: #f8d7da; color: #721c24; }
