/* ============================================================================
   MAH COMMANDER ONBOARDING STYLES
   Updated to match MAH Premium Theme: Dark Green + Bronze
   ============================================================================ */

/* =====================
   ROOT VARIABLES (MAH Theme)
   ===================== */
:root {
    /* Green Theme */
    --deep-green: #006400;
    --emerald: #50C878;
    --forest-green: #228B22;
    --muted-green: #27ae60;
    --dark-green: #013220;
    --bright-green: #32CD32;

    /* Bronze/Brown Accents */
    --bronze: #CD7F32;
    --bronze-light: #E89B4F;
    --brown: #8B4513;

    /* Backgrounds */
    --dark-bg: #000a00;
    --darker-bg: #000500;
    --card-bg: rgba(0, 50, 0, 0.8);
    --card-hover-bg: rgba(0, 70, 0, 0.9);

    /* Text Colors */
    --text-primary: rgba(245, 247, 245, 0.95);
    --text-secondary: rgba(184, 200, 176, 0.85);
    --text-muted: rgba(143, 160, 127, 0.7);

    /* Special Effects */
    --warm-bronze: rgba(205, 127, 50, 0.15);
    --glow-green: rgba(80, 200, 120, 0.3);
    --glow-bronze: rgba(205, 127, 50, 0.3);

    /* Status Colors */
    --status-active: #50C878;
    --status-pending: #FFD700;
    --status-cancelled: #DC143C;
}

/* =====================
   GLOBAL RESETS
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-green) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================================
   START PAGE
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-primary);
}

.logo h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(80, 200, 120, 0.5);
    color: var(--emerald);
}

.tagline {
    font-size: 1.2em;
    opacity: 0.9;
    color: var(--bronze-light);
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .content-section {
        grid-template-columns: 1fr;
    }
}

.welcome-card,
.onboarding-card,
.onboarding-steps {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(80, 200, 120, 0.2);
    backdrop-filter: blur(10px);
}

.welcome-card:hover,
.onboarding-card:hover {
    border-color: var(--emerald);
    box-shadow: 0 15px 40px rgba(80, 200, 120, 0.3);
    transition: all 0.3s ease;
}

.welcome-card {
    grid-column: 1 / -1;
}

.welcome-card h2,
.onboarding-card h3,
.onboarding-steps h3 {
    color: var(--emerald);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--glow-green);
}

.welcome-card h2 {
    font-size: 2em;
    font-weight: 800;
}

.welcome-card p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(80, 200, 120, 0.1);
    color: var(--text-secondary);
    font-size: 1.05em;
}

.benefits li:last-child {
    border-bottom: none;
}

.income-breakdown {
    margin-top: 20px;
    padding: 20px;
    background: rgba(205, 127, 50, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--bronze);
}

.income-breakdown h3 {
    color: var(--bronze-light);
    margin-bottom: 15px;
}

.income-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(205, 127, 50, 0.2);
}

.income-row:last-child {
    border-bottom: none;
    font-weight: bold;
    color: var(--bronze-light);
}

.income-row .label {
    color: var(--text-secondary);
}

.income-row .amount {
    color: var(--emerald);
    font-weight: 600;
}

/* ============================================================================
   FORM STYLING
   ============================================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(80, 200, 120, 0.3);
    border-radius: 8px;
    background: rgba(0, 20, 0, 0.6);
    color: var(--text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px var(--glow-green);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.85em;
}

/* ============================================================================
   BUTTONS (MAH Style)
   ============================================================================ */

.btn-primary,
.btn-secondary,
.btn-success,
.btn-stripe {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--forest-green) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.6);
}

.btn-secondary {
    background: rgba(80, 200, 120, 0.2);
    color: var(--emerald);
    border: 2px solid var(--emerald);
}

.btn-secondary:hover {
    background: rgba(80, 200, 120, 0.3);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 127, 50, 0.6);
}

.btn-stripe {
    background: linear-gradient(135deg, #635bff 0%, #5469d4 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 91, 255, 0.4);
}

.btn-stripe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 91, 255, 0.6);
}

.btn-link {
    background: none;
    border: none;
    color: var(--emerald);
    cursor: pointer;
    text-decoration: underline;
    padding: 8px;
}

.btn-link:hover {
    color: var(--bronze-light);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================================
   ONBOARDING FLOW
   ============================================================================ */

.onboarding-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.progress-header {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(80, 200, 120, 0.2);
}

.progress-bar-container {
    background: rgba(0, 20, 0, 0.6);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald) 0%, var(--bronze-light) 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-green);
}

.progress-text {
    text-align: center;
    color: var(--text-primary);
    font-weight: 600;
}

.step-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    min-height: 500px;
    border: 1px solid rgba(80, 200, 120, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-content h2 {
    color: var(--emerald);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-green);
}

.step-content h3 {
    color: var(--bronze-light);
    margin-top: 30px;
    margin-bottom: 15px;
}

.step-content h4 {
    color: var(--emerald);
    margin-top: 20px;
    margin-bottom: 10px;
}

.step-content p,
.step-content li {
    color: var(--text-secondary);
}

.step-content strong {
    color: var(--text-primary);
}

/* Scenario Cards */
.scenario-card {
    background: rgba(0, 30, 0, 0.6);
    border: 2px solid rgba(80, 200, 120, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.scenario-card h4 {
    color: var(--emerald);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.scenario-desc {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

/* Math Breakdown */
.math-breakdown {
    background: rgba(0, 10, 0, 0.4);
    padding: 20px;
    border-radius: 8px;
}

.math-row {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid rgba(80, 200, 120, 0.1);
}

.math-row.highlight {
    background: rgba(205, 127, 50, 0.15);
    border: 1px solid var(--bronze);
    border-radius: 6px;
    margin: 10px 0;
}

.math-row.total {
    background: rgba(80, 200, 120, 0.15);
    border-top: 2px solid var(--emerald);
    font-weight: bold;
    margin-top: 10px;
}

.math-row.annual {
    background: rgba(205, 127, 50, 0.2);
    border: 2px solid var(--bronze);
    font-weight: bold;
}

.math-label {
    color: var(--text-secondary);
}

.math-result {
    color: var(--emerald);
    font-weight: 600;
}

/* Payment Process */
.payment-card {
    display: flex;
    gap: 20px;
    background: rgba(0, 30, 0, 0.6);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(80, 200, 120, 0.3);
}

.payment-icon {
    font-size: 3em;
}

.payment-details h4 {
    color: var(--emerald);
    margin-bottom: 15px;
}

.payment-details ul {
    margin-left: 20px;
}

.payment-details li {
    margin-bottom: 10px;
}

.payment-note {
    margin-top: 15px;
    padding: 15px;
    background: rgba(205, 127, 50, 0.1);
    border-left: 4px solid var(--bronze);
    border-radius: 6px;
    color: var(--text-secondary);
}

/* Key Takeaways */
.key-takeaways {
    background: rgba(80, 200, 120, 0.1);
    border: 2px solid var(--emerald);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.key-takeaways h3 {
    color: var(--emerald);
    margin-bottom: 15px;
}

.key-takeaways ul {
    list-style: none;
}

.key-takeaways li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(80, 200, 120, 0.2);
}

.key-takeaways li:last-child {
    border-bottom: none;
}

/* Checklist */
.checklist {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 30, 0, 0.6);
    border-radius: 8px;
}

.checklist label {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.checklist label:hover {
    background: rgba(80, 200, 120, 0.1);
    border-radius: 6px;
}

.checklist input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--emerald);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.navigation-buttons button {
    flex: 1;
}

/* Error Messages */
.error-message {
    background: rgba(220, 20, 60, 0.2);
    border: 2px solid var(--status-cancelled);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 20, 0, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(80, 200, 120, 0.2);
}

.form-section h3 {
    color: var(--emerald);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(80, 200, 120, 0.3);
}

.form-description {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.emergency-contact-section {
    border: 2px solid rgba(205, 127, 50, 0.5);
    background: rgba(205, 127, 50, 0.05);
}

.emergency-contact-section h3 {
    color: var(--bronze-light);
}

/* Signature Pad */
#signature-pad {
    border: 2px solid var(--emerald);
    border-radius: 8px;
    background: white;
    cursor: crosshair;
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.signature-buttons {
    text-align: center;
    margin-top: 15px;
}

/* Contract Section */
.contract-section {
    background: rgba(0, 30, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--emerald);
    margin-bottom: 25px;
}

.contract-section h3 {
    color: var(--emerald);
    margin-bottom: 15px;
}

.contract-section ul {
    margin-left: 20px;
}

.contract-section li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contract-summary {
    background: rgba(80, 200, 120, 0.1);
    border: 2px solid var(--emerald);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.contract-summary h3 {
    color: var(--emerald);
    margin-bottom: 15px;
}

/* ============================================================================
   EQUIPMENT & GEO-TRACKING SECTIONS
   ============================================================================ */

.equipment-section,
.geo-tracking-section {
    margin: 30px 0;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 20px;
    font-style: italic;
}

.equipment-card {
    background: rgba(0, 50, 0, 0.4);
    border: 2px solid var(--emerald);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    border-color: var(--bronze);
    background: rgba(0, 50, 0, 0.6);
    box-shadow: 0 4px 20px rgba(80, 200, 120, 0.2);
}

.equipment-card h4 {
    color: var(--emerald);
    font-size: 1.3em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.equipment-card ul {
    list-style: none;
    padding-left: 0;
}

.equipment-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.equipment-card li:before {
    content: "✓";
    color: var(--emerald);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.geo-process {
    background: rgba(205, 127, 50, 0.1);
    border: 2px solid var(--bronze);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.geo-process h4 {
    color: var(--bronze);
    font-size: 1.2em;
    margin-bottom: 15px;
}

.geo-process ol {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.geo-process ol li {
    counter-increment: step-counter;
    padding: 12px 0 12px 50px;
    position: relative;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.geo-process ol li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 8px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--forest-green) 100%);
    color: white;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(80, 200, 120, 0.4);
}

.geo-note {
    background: rgba(0, 10, 0, 0.6);
    border-left: 4px solid var(--emerald);
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.geo-note p {
    color: var(--bronze-light);
    font-weight: bold;
    margin-bottom: 10px;
}

.geo-note ul {
    list-style: none;
    padding-left: 0;
}

.geo-note li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.geo-note li:before {
    content: "→";
    color: var(--emerald);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================================================
   MODAL STYLES
   ============================================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #000a00 0%, #013220 100%);
    border: 3px solid var(--emerald);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(80, 200, 120, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    color: var(--bronze-light);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--bronze);
    transform: scale(1.1);
}

.modal-content h2 {
    margin-top: 0;
}

.modal-content h3 {
    margin-top: 0;
}

/* Modal scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 10, 0, 0.4);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--emerald);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--bronze);
}

/* ============================================================================
   LOADING ANIMATIONS
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.step-container {
    animation: fadeIn 0.5s ease-out;
}

.welcome-card,
.onboarding-card,
.onboarding-steps {
    animation: fadeIn 0.6s ease-out;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(80, 200, 120, 0.1) 50%,
        transparent 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============================================================================
   ENHANCED FORM STATES
   ============================================================================ */

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: rgba(80, 200, 120, 0.5);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 20, 60, 0.5);
}

.form-group.success input {
    border-color: var(--emerald);
    background: rgba(80, 200, 120, 0.05);
}

.form-group.error input {
    border-color: var(--status-cancelled);
    background: rgba(220, 20, 60, 0.05);
}

.success-icon {
    color: var(--emerald);
    margin-left: 10px;
    animation: fadeIn 0.3s ease-out;
}

.error-icon {
    color: var(--status-cancelled);
    margin-left: 10px;
    animation: fadeIn 0.3s ease-out;
}

/* ============================================================================
   ENHANCED BUTTON STATES
   ============================================================================ */

.btn-primary,
.btn-secondary,
.btn-success,
.btn-stripe {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-success::before,
.btn-stripe::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before,
.btn-secondary:active::before,
.btn-success:active::before,
.btn-stripe:active::before {
    width: 300px;
    height: 300px;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================================
   ENHANCED CARDS
   ============================================================================ */

.scenario-card,
.equipment-card,
.responsibility-card {
    transition: all 0.3s ease;
}

.scenario-card:hover,
.equipment-card:hover,
.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(80, 200, 120, 0.3);
}

/* ============================================================================
   SUCCESS MESSAGES
   ============================================================================ */

.success-message {
    background: rgba(80, 200, 120, 0.2);
    border: 2px solid var(--emerald);
    color: var(--emerald);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

/* ============================================================================
   INFO TOOLTIPS
   ============================================================================ */

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    color: var(--bronze-light);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: rgba(0, 30, 0, 0.95);
    color: var(--text-primary);
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid var(--emerald);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ============================================================================
   ENHANCED PROGRESS BAR
   ============================================================================ */

.progress-bar {
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ============================================================================
   RESPONSIBILITY CARDS
   ============================================================================ */

.responsibility-card {
    background: rgba(0, 30, 0, 0.6);
    border: 2px solid rgba(80, 200, 120, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.responsibility-card .icon {
    font-size: 3em;
    min-width: 60px;
}

.responsibility-card h4 {
    color: var(--emerald);
    margin-bottom: 10px;
}

.responsibility-card ul {
    list-style: none;
    padding-left: 0;
}

.responsibility-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.responsibility-card li::before {
    content: "✓";
    color: var(--emerald);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================================================
   ROLE OVERVIEW SECTION
   ============================================================================ */

.role-overview {
    margin: 30px 0;
}

.role-overview h3 {
    color: var(--bronze-light);
    margin-bottom: 15px;
}

.role-overview p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05em;
}

/* ============================================================================
   EARNINGS BREAKDOWN
   ============================================================================ */

.earnings-breakdown {
    margin-top: 30px;
    padding: 25px;
    background: rgba(205, 127, 50, 0.1);
    border-radius: 12px;
    border: 2px solid var(--bronze);
}

.earnings-breakdown h3 {
    color: var(--bronze-light);
    margin-bottom: 15px;
}

.earnings-breakdown > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        max-height: 95vh;
    }

    .step-container {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .math-row {
        flex-direction: column;
        gap: 5px;
    }

    .payment-card {
        flex-direction: column;
    }

    .responsibility-card {
        flex-direction: column;
    }

    .responsibility-card .icon {
        font-size: 2em;
    }

    #signature-pad {
        width: 100%;
    }

    .logo h1 {
        font-size: 2em;
    }

    .tagline {
        font-size: 1em;
    }
}

/* ============================================================================
   SCROLLBAR (MAH Style)
   ============================================================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--emerald) 0%, var(--bronze) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--bronze-light) 0%, var(--emerald) 100%);
}
