.iqa-qp-reg-wrap {
    max-width: 1000px;
    margin: 0 auto;
    font-family: inherit;
}

.iqa-qp-reg-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.iqa-qp-reg-column {
    flex: 1 1 45%;
    min-width: 300px;
}

@media (max-width: 768px) {
    .iqa-qp-reg-column {
        flex: 1 1 100%;
        min-width: 0;
    }
}

.iqa-qp-reg-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px 30px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.iqa-qp-reg-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
    padding: 0;
}

.iqa-qp-reg-divider {
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    margin: 10px 0 20px;
}

.iqa-qp-reg-field {
    margin-bottom: 18px;
}

.iqa-qp-reg-field label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.iqa-qp-reg-input,
.iqa-qp-reg-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    font-size: 15px;
    color: #222;
    background: #fafafa;
    transition: all 0.25s ease;
    box-shadow: none;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.iqa-qp-reg-textarea {
    height: auto;
    min-height: 80px;
    padding: 10px 14px;
    resize: vertical;
}

.iqa-qp-reg-input:focus,
.iqa-qp-reg-select:focus,
.iqa-qp-reg-textarea:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.iqa-qp-reg-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.iqa-qp-reg-row-2col {
    display: flex;
    gap: 24px;
}

.iqa-qp-reg-row-2col > * {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .iqa-qp-reg-row-2col {
        flex-direction: column;
        gap: 0;
    }
}

.iqa-qp-reg-otp-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.iqa-qp-reg-otp-input {
    flex: 1;
    min-width: 120px;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #d4d4d4;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 6px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.25s ease;
    outline: none;
    box-sizing: border-box;
}

.iqa-qp-reg-otp-input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.iqa-qp-reg-btn {
    height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.iqa-qp-reg-otp-send {
    background: #667eea;
    color: #fff;
}

.iqa-qp-reg-otp-send:hover {
    background: #5a6fd6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.iqa-qp-reg-otp-verify {
    background: #27ae60;
    color: #fff;
}

.iqa-qp-reg-otp-verify:hover {
    background: #219a52;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}

.iqa-qp-reg-otp-status {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.iqa-qp-reg-otp-status.verified,
.iqa-qp-reg-otp-status.success {
    color: #27ae60;
}

.iqa-qp-reg-otp-status.error {
    color: #e74c3c;
}

.iqa-qp-reg-fee-section {
    background: linear-gradient(135deg, #f8f9ff, #fff);
    border: 1px solid #e8e8ff;
}

.iqa-qp-reg-fee-table {
    margin-top: 10px;
}

.iqa-qp-reg-fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.iqa-qp-reg-fee-row:last-child {
    border-bottom: none;
}

.iqa-qp-reg-fee-label {
    color: #555;
    font-weight: 500;
}

.iqa-qp-reg-fee-amount {
    color: #222;
    font-weight: 600;
}

.iqa-qp-reg-fee-total {
    border-top: 2px solid #667eea;
    margin-top: 4px;
    padding-top: 14px;
}

.iqa-qp-reg-fee-total .iqa-qp-reg-fee-label {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
}

.iqa-qp-reg-fee-total .iqa-qp-reg-fee-amount {
    font-size: 20px;
    font-weight: 800;
    color: #667eea;
}

.iqa-qp-reg-payment-section {
    border: 1px solid #e0e0e0;
}

.iqa-qp-reg-gateways {
    margin-bottom: 16px;
}

.iqa-qp-reg-gateway-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    cursor: pointer;
}

.iqa-qp-reg-gateway-label:last-child {
    border-bottom: none;
}

.iqa-qp-reg-gateway-title {
    font-weight: 600;
}

.iqa-qp-reg-gateway-icon img {
    max-height: 36px;
    vertical-align: middle;
}

.iqa-qp-reg-terms-row {
    margin-bottom: 18px;
}

.iqa-qp-reg-terms-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    line-height: 1.5;
}

.iqa-qp-reg-terms-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    flex-shrink: 0;
}

.iqa-qp-reg-terms-row.error .iqa-qp-reg-terms-label {
    color: #e74c3c;
}

.iqa-qp-reg-terms-row.error input[type="checkbox"] {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
    border-radius: 3px;
}

.iqa-qp-reg-pay-row {
    text-align: center;
}

.iqa-qp-reg-pay-btn {
    width: 100%;
    max-width: 400px;
    height: 54px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.iqa-qp-reg-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.iqa-qp-reg-pay-btn:active {
    transform: translateY(0);
}

.iqa-qp-reg-pay-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.iqa-qp-reg-pay-loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: iqaRegSpin 0.8s linear infinite;
    display: inline-block;
}

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

.iqa-qp-reg-form-errors {
    background: #fff0f0;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 16px;
    color: #c0392b;
    font-size: 14px;
}

.iqa-qp-reg-form-errors ul {
    margin: 0;
    padding: 0 0 0 18px;
}

.iqa-qp-reg-form-errors li {
    margin-bottom: 4px;
}

#iqa-qp-reg-photo-input {
    position: absolute;
    clip: rect(0,0,0,0);
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.iqa-qp-reg-photo-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.iqa-qp-reg-photo-input {
    position: absolute;
    clip: rect(0,0,0,0);
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.iqa-qp-reg-photo-btn {
    background: #667eea;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.iqa-qp-reg-photo-btn:hover {
    background: #5a6fd6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.iqa-qp-reg-photo-filename {
    font-size: 13px;
    color: #666;
    word-break: break-all;
    max-width: 200px;
}

.iqa-qp-reg-photo-crop-status {
    font-size: 12px;
    color: #27ae60;
    display: block;
    width: 100%;
    margin-top: 4px;
}

.iqa-qp-reg-crop-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.iqa-qp-reg-crop-modal.active {
    display: flex;
}

.iqa-qp-reg-crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.iqa-qp-reg-crop-dialog {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}

.iqa-qp-reg-crop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
}

.iqa-qp-reg-crop-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
}

.iqa-qp-reg-crop-close:hover {
    color: #333;
}

.iqa-qp-reg-crop-body {
    padding: 16px;
    overflow: hidden;
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iqa-qp-reg-crop-body img {
    display: block;
}

.iqa-qp-reg-crop-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #e0e0e0;
}

.iqa-qp-reg-crop-cancel {
    background: #e0e0e0;
    color: #333;
}

.iqa-qp-reg-crop-cancel:hover {
    background: #d0d0d0;
}

.iqa-qp-reg-crop-confirm {
    background: #667eea;
    color: #fff;
}

.iqa-qp-reg-crop-confirm:hover {
    background: #5a6fd6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}


