/**
 * Professional User Dashboard Styles
 * Custom Survey Manager - User Portal
 * Color Scheme: #137801 (Government Green)
 */

/* Import pagination styles from admin CSS (or define here) */

/* ========================================
   GLOBAL RESET & BASE STYLES
   ======================================== */

* {
    box-sizing: border-box;
}

.cs-user-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

/* ========================================
   USER SIDEBAR NAVIGATION
   ======================================== */

.cs-user-sidebar {
    width: 18%;
    min-width: 220px;
    max-width: 280px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    flex-shrink: 0;
}

.cs-user-sidebar-header {
    padding: 24px 20px;
    border-bottom: 2px solid #137801;
    background: #137801;
    flex-shrink: 0;
}

.cs-user-sidebar-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cs-user-sidebar-nav {
    padding: 16px 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.cs-user-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.cs-user-nav-item:hover {
    background: #f8f8f8;
    color: #137801;
}

.cs-user-nav-item.active {
    background: #f0f7ef;
    color: #137801;
    border-left-color: #137801;
    font-weight: 600;
}

.cs-user-nav-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.cs-user-nav-text {
    font-size: 14px;
}

.cs-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20000;
    pointer-events: none;
}

.cs-notification {
    min-width: 260px;
    max-width: 360px;
    background: #ffffff;
    color: #1b1b1b;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #137801;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    pointer-events: auto;
    display: none;
}

.cs-notification-success {
    border-left-color: #137801;
}

.cs-notification-error {
    border-left-color: #b3261e;
    color: #b3261e;
}

.cs-notification-text {
    display: block;
}

.cs-user-sidebar-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid #e6e6e6;
    flex-shrink: 0;
}

.cs-user-logout {
    display: block;
    text-align: center;
    background: #137801;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cs-user-logout:hover {
    background: #0d5e01;
    color: #ffffff;
}

/* ========================================
   USER MAIN CONTENT AREA
   ======================================== */

.cs-user-main-content {
    flex: 1;
    width: 82%;
    padding: 32px 40px;
    background: #f5f5f5;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.cs-user-page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.cs-user-page-header h1 {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.cs-user-page-description {
    margin: 0;
    color: #666666;
    font-size: 14px;
}

.cs-user-page-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ========================================
   USER STATISTICS CARDS
   ======================================== */

.cs-user-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.cs-user-stat-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    border-left: 4px solid #137801;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cs-user-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #137801;
    transition: width 0.3s ease;
}

.cs-user-stat-card:hover {
    box-shadow: 0 4px 16px rgba(19, 120, 1, 0.15);
    transform: translateY(-2px);
    border-left-color: #0d5e01;
}

.cs-user-stat-card:hover::before {
    width: 6px;
}

.cs-user-stat-icon {
    font-size: 40px;
    margin-right: 20px;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.cs-user-stat-card:hover .cs-user-stat-icon {
    transform: scale(1.1);
}

.cs-user-stat-content {
    flex: 1;
}

.cs-user-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #137801;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.cs-user-stat-label {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   USER DASHBOARD SECTIONS
   ======================================== */

.cs-user-dashboard-section {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.3s ease;
}

.cs-user-dashboard-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cs-user-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.cs-user-section-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.cs-user-submissions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cs-user-submission-card {
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cs-user-submission-card:hover {
    box-shadow: 0 4px 12px rgba(19, 120, 1, 0.12);
    border-color: #137801;
    transform: translateY(-2px);
}

.cs-user-submission-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.cs-user-submission-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
}

.cs-user-submission-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #666666;
}

/* ========================================
   USER SURVEY CARDS
   ======================================== */

.cs-user-surveys-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-user-survey-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.cs-user-survey-card:hover {
    box-shadow: 0 6px 20px rgba(19, 120, 1, 0.15);
    border-color: #137801;
    transform: translateY(-3px);
}

.cs-user-survey-header {
    margin-bottom: 16px;
}

.cs-user-survey-title-section h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.cs-user-survey-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666666;
}

.cs-user-survey-description {
    margin-bottom: 16px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

.cs-user-survey-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ========================================
   USER BUTTONS
   ======================================== */

.cs-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.5;
}

.cs-user-btn-primary {
    background: #137801;
    color: #ffffff;
}

.cs-user-btn-primary:hover {
    background: #0f6601;
    color: #ffffff;
}

.cs-user-btn-secondary {
    background: #e0e0e0;
    color: #333333;
}

.cs-user-btn-secondary:hover {
    background: #d0d0d0;
}

.cs-user-btn-link {
    color: #137801;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.cs-user-btn-link:hover {
    text-decoration: underline;
}

/* ========================================
   USER BADGES
   ======================================== */

.cs-user-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cs-user-badge-submitted {
    background: #137801;
    color: #155724;
}

.cs-user-badge-pending {
    background: #fff3cd;
    color: #856404;
}

/* ========================================
   USER PROFILE
   ======================================== */

.cs-user-profile-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 32px;
}

.cs-user-profile-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.cs-user-profile-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cs-user-profile-section h2 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.cs-user-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.cs-user-profile-field {
    display: flex;
    flex-direction: column;
}

.cs-user-profile-field-full {
    grid-column: 1 / -1;
}

.cs-user-profile-field label {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    display: block;
}

.cs-user-profile-field .required {
    color: #dc3545;
    margin-left: 4px;
}

.cs-user-profile-value {
    font-size: 15px;
    color: #1a1a1a;
    padding: 8px 0;
}

.cs-admin-email-link {
    color: #137801;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.cs-admin-email-link:hover {
    color: #0f5f01;
    text-decoration: underline;
}

/* ========================================
   PROFILE EDIT FORM
   ======================================== */

.cs-user-profile-actions {
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-end;
}

.cs-user-profile-actions .cs-button {
    min-width: auto;
}

.cs-user-profile-actions .cs-button:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cs-user-profile-actions .cs-button:hover .cs-button-icon {
    transform: none;
}

.cs-profile-edit-form {
    width: 100%;
}

.cs-profile-edit-form .cs-user-profile-field {
    margin-bottom: 0;
}

.cs-profile-edit-form .cs-user-profile-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.cs-profile-input,
.cs-profile-select,
.cs-profile-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    height: 44px;
}

.cs-profile-input::placeholder {
    color: #999999;
}

.cs-profile-input:hover,
.cs-profile-select:hover,
.cs-profile-textarea:hover {
    border-color: #137801;
}

.cs-profile-input:focus,
.cs-profile-select:focus,
.cs-profile-textarea:focus {
    border-color: #137801;
    box-shadow: 0 0 0 3px rgba(19, 120, 1, 0.1);
    background: #ffffff;
}

.cs-profile-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.cs-profile-textarea {
    resize: vertical;
    min-height: 100px;
    height: auto;
    padding: 12px 16px;
    line-height: 1.5;
}

.cs-profile-input:disabled {
    background: #f7fafc;
    color: #718096;
    cursor: not-allowed;
}

.cs-profile-description {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    font-style: italic;
}

.cs-profile-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.cs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.cs-button-primary {
    background: #137801 !important;
    background-color: #137801 !important;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cs-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    background: #137801 !important;
    background-color: #137801 !important;
}

.cs-button-primary:active {
    transform: translateY(0);
    background: #137801 !important;
    background-color: #137801 !important;
}

.cs-button-secondary {
    background: #e2e8f0;
    color: #2d3748;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cs-button-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cs-button-secondary:active {
    transform: translateY(0);
}

.cs-button-text {
    position: relative;
    z-index: 1;
}

.cs-button-icon {
    position: relative;
    z-index: 1;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cs-button:hover .cs-button-icon {
    transform: translateX(4px);
}

.cs-profile-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease-out;
}

.cs-profile-message.cs-profile-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.cs-profile-message.cs-profile-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.cs-message-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-profile-message p {
    margin: 0;
    flex: 1;
}

.required {
    color: #e53e3e;
    font-weight: 700;
    margin-left: 4px;
}

/* ========================================
   USER SURVEY FORM (Existing)
   ======================================== */

.cs-user-survey-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cs-user-survey-form h2 {
    margin: 0 0 16px 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 600;
}

.cs-survey-description {
    margin-bottom: 24px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}

.cs-survey-section {
    margin-bottom: 32px;
    padding: 0;
    border: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cs-survey-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Enhanced User Section Headers */
.cs-user-section-header {
    background: #f0f7ef;
    padding: 16px 20px;
    border-bottom: 2px solid #137801;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.cs-user-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #137801;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(19, 120, 1, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cs-user-section-icon {
    font-size: 20px;
    line-height: 1;
}

.cs-user-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #137801;
}

.cs-user-section-description {
    margin: 0;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    border-top: 1px solid #e0e0e0;
}

.cs-user-questions-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-section-title {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
}

.cs-section-description {
    margin: 0 0 20px 0;
    color: #666666;
    font-size: 14px;
}

/* Question Tooltip Box */
.cs-question-tooltip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #e7f5e7;
    border-left: 4px solid #137801;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #2d5016;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cs-tooltip-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-tooltip-content {
    flex: 1;
    font-weight: 400;
}

.cs-question-field {
    margin-bottom: 20px;
}

.cs-question-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333333;
    font-size: 14px;
}

.cs-question-field .required {
    color: #dc3545;
}

.cs-question-label {
    display: block;
    margin-bottom: 12px;
}

.cs-user-question-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cs-user-question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: #137801;
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(19, 120, 1, 0.15);
    letter-spacing: 0.5px;
}

.cs-question-number {
    font-weight: 600;
    margin-right: 6px;
    color: #333333;
}

.cs-question-text {
    font-weight: 600;
    color: #1a202c;
    font-size: 15px;
    line-height: 1.5;
    flex: 1;
}

/* Sub-question styling */
.cs-question-field.cs-sub-question {
    margin-left: 32px;
    padding-left: 24px;
    border-left: 4px solid #137801;
    background: #fafafa;
    padding: 16px 20px;
    border-radius: 6px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.cs-question-field.cs-sub-question .cs-user-question-number {
    background: #0f6601;
    font-size: 13px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
}

/* Section card styling */
.cs-survey-section {
    position: relative;
}

.cs-survey-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #137801;
    border-radius: 8px 0 0 8px;
}

/* Responsive design for user survey form */
@media (max-width: 768px) {
    .cs-user-section-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .cs-user-question-number {
        min-width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .cs-question-field.cs-sub-question {
        margin-left: 16px;
        padding-left: 16px;
    }
}

.cs-option-text {
    font-weight: 400;
    color: #555555;
}

.cs-question-field input[type="text"],
.cs-question-field input[type="number"],
.cs-question-field textarea,
.cs-question-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.cs-textarea-locked,
.cs-question-field textarea {
    resize: none !important;
}

.cs-question-field input:focus,
.cs-question-field textarea:focus,
.cs-question-field select:focus {
    outline: none;
    border-color: #137801;
    box-shadow: 0 0 0 3px rgba(18, 120, 1, 0.1);
}

.cs-radio-group,
.cs-checkbox-group,
.cs-mcq-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-radio-label,
.cs-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.cs-radio-label:hover,
.cs-checkbox-label:hover {
    background: #f8f8f8;
}

.cs-radio-label input,
.cs-checkbox-label input {
    margin-right: 8px;
    width: auto;
}

.cs-user-survey-form .submit {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.cs-user-survey-form .button-primary {
    background: #137801;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cs-user-survey-form .button-primary:hover {
    background: #0f6601;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.cs-user-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #666666;
}

.cs-user-empty-state p {
    margin: 0;
    font-size: 14px;
}

.cs-user-error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    border-left: 4px solid #e53e3e;
    color: #742a2a;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 24px;
    font-size: 14px;
}

.cs-no-survey {
    background: #fff5f5;
    border: 1px solid #fc8181;
    border-left: 4px solid #e53e3e;
    color: #742a2a;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 24px 0;
    font-size: 14px;
}

.cs-alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
}

.cs-alert-error {
    background: #fff5f5;
    border: 1px solid #fc8181;
    border-left: 4px solid #e53e3e;
    color: #742a2a;
}

.cs-alert-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-left: 4px solid #2271b1;
    color: #0a4b78;
}

/* ========================================
   SUB-QUESTIONS (CONDITIONAL)
   ======================================== */

.cs-sub-question {
    margin-left: 24px;
    padding-left: 20px;
    border-left: 2px solid #137801;
}

/* ========================================
   PAGINATION
   ======================================== */

.cs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
}

.cs-pagination-info {
    color: #666;
    font-size: 14px;
}

.cs-pagination-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.cs-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cs-pagination-link:hover:not(.cs-pagination-disabled):not(.cs-pagination-current) {
    background: #137801;
    color: #ffffff;
    border-color: #137801;
}

.cs-pagination-link.cs-pagination-current {
    background: #137801;
    color: #ffffff;
    border-color: #137801;
    cursor: default;
}

.cs-pagination-link.cs-pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
}

.cs-pagination-dots {
    padding: 0 8px;
    color: #999;
    font-size: 14px;
}

.cs-pagination-first,
.cs-pagination-prev,
.cs-pagination-next,
.cs-pagination-last {
    font-weight: 600;
}

@media (max-width: 768px) {
    .cs-pagination {
        flex-direction: column;
        gap: 16px;
    }

    .cs-pagination-info {
        text-align: center;
    }

    .cs-pagination-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .cs-user-sidebar {
        width: 20%;
        min-width: 200px;
    }
    
    .cs-user-main-content {
        width: 80%;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .cs-user-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .cs-user-sidebar {
        width: 100%;
        height: auto;
        max-height: 60vh;
        min-width: 100%;
        max-width: 100%;
    }
    
    .cs-user-main-content {
        width: 100%;
        height: auto;
        min-height: 40vh;
        padding: 20px;
    }
    
    .cs-user-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cs-user-profile-grid {
        grid-template-columns: 1fr;
    }
}
