.iqa-qp-dash-wrap {
    display: flex;
    min-height: 600px;
    max-width: 1200px;
    margin: 30px auto;
    font-family: inherit;
    gap: 0;
    background: #f5f6fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.iqa-qp-dash-sidebar {
    width: 260px;
    min-width: 260px;
    background: linear-gradient(180deg, #1a1a2e, #16213e);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.iqa-qp-dash-brand {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.iqa-qp-dash-brand h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.iqa-qp-dash-nav {
    flex: 1;
    padding: 16px 0;
}

.iqa-qp-dash-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.iqa-qp-dash-nav-item {
    margin: 0;
}

.iqa-qp-dash-nav-item a {
    display: block;
    padding: 14px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.iqa-qp-dash-nav-item a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
    border-left-color: #667eea;
}

.iqa-qp-dash-nav-item.active a {
    color: #fff;
    background: rgba(102,126,234,0.15);
    border-left-color: #667eea;
}

.iqa-qp-dash-user {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
}

.iqa-qp-dash-user-name {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.9);
}

.iqa-qp-dash-logout {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
}

.iqa-qp-dash-logout:hover {
    color: #e74c3c;
}

.iqa-qp-dash-content {
    flex: 1;
    padding: 30px 36px;
    position: relative;
    min-height: 500px;
}

.iqa-qp-dash-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
    padding: 0 0 12px;
    border-bottom: 2px solid #eef0f5;
}

.iqa-qp-dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.iqa-qp-dash-card {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iqa-qp-dash-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.iqa-qp-dash-card-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.iqa-qp-dash-card-label {
    display: block;
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin-bottom: 6px;
}

.iqa-qp-dash-card-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    word-break: break-word;
}

.iqa-qp-dash-card-section {
    background: #fff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 28px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.iqa-qp-dash-row-2col {
    display: flex;
    gap: 16px;
}

.iqa-qp-dash-row-2col .iqa-qp-dash-field {
    flex: 1;
}

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

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

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

.iqa-qp-dash-field small {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 4px;
}

.iqa-qp-dash-input,
.iqa-qp-dash-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-dash-textarea {
    height: auto;
    min-height: 80px;
    padding: 10px 14px;
    resize: vertical;
}

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

.iqa-qp-dash-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-dash-input[readonly],
.iqa-qp-dash-input[disabled] {
    background: #f0f0f0;
    color: #888;
    cursor: not-allowed;
}

.iqa-qp-dash-btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.iqa-qp-dash-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.iqa-qp-dash-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(102,126,234,0.35);
}

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

.iqa-qp-dash-form-actions {
    margin-top: 8px;
}

.iqa-qp-dash-table-wrap {
    overflow-x: auto;
}

.iqa-qp-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.iqa-qp-dash-table th {
    text-align: left;
    padding: 12px 14px;
    background: #f8f9fc;
    border-bottom: 2px solid #e8e8f0;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.iqa-qp-dash-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef0f5;
    color: #333;
}

.iqa-qp-dash-table tbody tr:hover {
    background: #f8f9fc;
}

.iqa-qp-dash-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-pending {
    background: #fff3e0;
    color: #e67e22;
}

.status-processing {
    background: #e8f5e9;
    color: #27ae60;
}

.status-completed {
    background: #e8f5e9;
    color: #27ae60;
}

.status-on-hold {
    background: #fff8e1;
    color: #f39c12;
}

.status-cancelled {
    background: #fdecea;
    color: #e74c3c;
}

.status-refunded {
    background: #f3e5f5;
    color: #8e44ad;
}

.status-failed {
    background: #fdecea;
    color: #e74c3c;
}

.iqa-qp-dash-reg-badge {
    display: inline-block;
    background: #eef2ff;
    color: #667eea;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.iqa-qp-dash-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iqa-qp-dash-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: iqaDashSpin 0.8s linear infinite;
    display: inline-block;
}

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

.iqa-qp-dash-separator {
    border: none;
    border-top: 1px solid #e8e8f0;
    margin: 28px 0;
}

.iqa-qp-dash-security-form h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 18px;
}

.iqa-qp-dash-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
}

.iqa-qp-dash-notice-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.iqa-qp-dash-notice-error {
    background: #fdecea;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

.iqa-qp-dash-otp-section {
    margin-bottom: 10px;
}

.iqa-qp-dash-otp-btn {
    min-width: 120px;
}

.iqa-qp-dash-otp-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.iqa-qp-dash-otp-input {
    width: 140px;
    text-align: center;
    letter-spacing: 6px;
    font-size: 18px;
    font-weight: 600;
}

.iqa-qp-dash-otp-status {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

.iqa-qp-dash-otp-status.sent {
    color: #1565c0;
}

.iqa-qp-dash-otp-status.verified {
    color: #2e7d32;
}

.iqa-qp-dash-otp-status.error {
    color: #c62828;
}

.iqa-qp-dash-pass-fields {
    border-top: 1px solid #e8e8f0;
    padding-top: 18px;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .iqa-qp-dash-wrap {
        flex-direction: column;
        border-radius: 0;
        margin: 0;
        min-height: auto;
    }

    .iqa-qp-dash-sidebar {
        width: 100%;
        min-width: 0;
    }

    .iqa-qp-dash-nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    .iqa-qp-dash-nav-item {
        flex: 1 1 auto;
    }

    .iqa-qp-dash-nav-item a {
        padding: 12px 16px;
        font-size: 13px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .iqa-qp-dash-nav-item.active a {
        border-left-color: transparent;
        border-bottom-color: #667eea;
    }

    .iqa-qp-dash-content {
        padding: 20px;
    }

    .iqa-qp-dash-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .iqa-qp-dash-card {
        padding: 16px;
    }
}

.iqa-qp-dash-dob-field .iqa-qp-dash-dob-selects {
    display: flex;
    gap: 8px;
}

.iqa-qp-dash-dob-field .iqa-qp-dash-dob-selects select {
    flex: 1;
    min-width: 0;
    width: auto !important;
}
