/* ===============================
   KYC Form Container
================================= */
.kyc-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

.kyc-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.kyc-header p {
    font-size: 14px;
    color: #666;
}

/* ===============================
   Progress Steps
================================= */
.kyc-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.kyc-progress-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.kyc-progress-step .step-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    background: #ddd;
    color: #fff;
    margin: 0 auto 8px;
}

.kyc-progress-step.active .step-number {
    background: #EB5218;
}

.kyc-progress-step::after {
    content: '';
    height: 4px;
    width: 100%;
    background: #ddd;
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: -1;
}

.kyc-progress-step:last-child::after {
    display: none;
}

.kyc-progress-step.active::after {
    background: #EB5218;
}

/* ===============================
   Form Sections
================================= */
.kyc-form-section {
    display: none;
}

.kyc-form-section.active {
    display: block;
}

.kyc-form-group {
    margin-bottom: 20px;
}

.kyc-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.kyc-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.kyc-radio-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}

.kyc-field-error {
    color: red;
    font-size: 12px;
    margin-top: 3px;
}

/* ===============================
   Buttons
================================= */
.kyc-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.kyc-btn-primary { background: #EB5218; color: #fff; }
.kyc-btn-secondary { background: #ccc; color: #333; }
.kyc-btn-success { background: #28a745; color: #fff; }

.kyc-btn:hover {
    opacity: 0.9;
}

/* ===============================
   Hidden class
================================= */
.kyc-hidden { display: none !important; }

/* ===============================
   File Upload
================================= */
.kyc-upload-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 10px;
}

.kyc-upload-area i {
    font-size: 32px;
    color: #EB5218;
}

.kyc-upload-area p {
    margin: 5px 0 0 0;
    font-size: 14px;
}

.kyc-file-preview img {
    margin-top: 10px;
    max-width: 100px;
    border-radius: 6px;
}

/* ===============================
   Success Page
================================= */
.kyc-success-page {
    text-align: center;
    padding: 50px 20px;
}

.kyc-success-page .kyc-success-icon {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 15px;
}

.kyc-success-title {
    font-size: 26px;
    margin-bottom: 10px;
}

.kyc-success-message {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ===============================
   Loading Spinner
================================= */
.kyc-loading {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.kyc-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #EB5218;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* ===============================
   Checkbox styling
================================= */
.kyc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kyc-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.kyc-checkbox-label input[type="checkbox"]:checked + .kyc-checkbox-custom::after {
    content: '\2713';
    position: absolute;
    top: 0;
    left: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
