/* ====================================
   LEXINCO ODR - STYLES
   Compliant Online Dispute Resolution
   ==================================== */

/* ===== CSS Variables ===== */
:root {
    --odr-primary: #1e3a5f;
    --odr-primary-light: #2c5282;
    --odr-secondary: #3182ce;
    --odr-accent: #38a169;
    --odr-warning: #dd6b20;
    --odr-danger: #e53e3e;
    --odr-success: #38a169;
    --odr-info: #3182ce;
    --odr-light: #f7fafc;
    --odr-dark: #1a202c;
    --odr-gray-100: #f7fafc;
    --odr-gray-200: #edf2f7;
    --odr-gray-300: #e2e8f0;
    --odr-gray-400: #cbd5e0;
    --odr-gray-500: #a0aec0;
    --odr-gray-600: #718096;
    --odr-gray-700: #4a5568;
    --odr-gray-800: #2d3748;
    --odr-white: #ffffff;
    --odr-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --odr-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --odr-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --odr-radius: 12px;
    --odr-radius-lg: 16px;
    --odr-transition: all 0.3s ease;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--odr-white);
}

.container {
    width: min(1200px, calc(100% - 40px));
}

section {
    scroll-margin-top: 110px;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.navbar.scrolled {
    box-shadow: var(--odr-shadow-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.nav-links a {
    margin-left: 0;
    white-space: nowrap;
}

.nav-links a:not(.btn) {
    font-size: 0.98rem;
}

.nav-links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

.navbar .btn.secondary {
    background: #f8fafc;
    color: var(--odr-primary);
    border: 1px solid var(--odr-gray-300);
}

.navbar .btn.secondary:hover {
    background: var(--odr-white);
    color: var(--odr-secondary);
    border-color: var(--odr-secondary);
}

.navbar .btn.primary {
    background: linear-gradient(135deg, var(--odr-secondary), var(--odr-primary));
    box-shadow: 0 10px 24px rgba(49, 130, 206, 0.22);
}

.mobile-menu-btn {
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Logo Badge ===== */
.logo-badge {
    background: linear-gradient(135deg, var(--odr-secondary), var(--odr-accent));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
}

/* ===== Hero Section ===== */
.odr-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, var(--odr-primary) 0%, var(--odr-primary-light) 100%);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.odr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.odr-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--odr-white);
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--odr-accent);
}

.odr-hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.odr-hero h1 .highlight {
    color: var(--odr-accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn.large {
    padding: 16px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn.primary {
    background: linear-gradient(135deg, var(--odr-accent), #2f855a);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(56, 161, 105, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.5);
}

.odr-hero .btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.odr-hero .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--odr-accent);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    min-width: 0;
}

.hero-illustration {
    width: clamp(260px, 32vw, 340px);
    height: clamp(260px, 32vw, 340px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 16px 40px rgba(255, 255, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.hero-illustration i {
    font-size: clamp(5.5rem, 9vw, 8rem);
    color: rgba(255, 255, 255, 0.9);
}

.floating-card {
    position: absolute;
    background: var(--odr-white);
    padding: 16px 24px;
    border-radius: var(--odr-radius);
    box-shadow: var(--odr-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    max-width: 220px;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--odr-secondary);
}

.floating-card span {
    font-weight: 600;
    color: var(--odr-dark);
}

.card-1 {
    top: 14%;
    left: 4%;
    animation-delay: 0s;
}

.card-2 {
    top: 38%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    left: 16%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== User Type Section ===== */
.user-type-section {
    padding: 100px 0;
    background: var(--odr-gray-100);
}

.section-subtitle {
    text-align: center;
    color: var(--odr-gray-600);
    font-size: 1.1rem;
    margin-top: -20px;
    margin-bottom: 48px;
}

.user-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.user-type-card {
    background: var(--odr-white);
    border-radius: var(--odr-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--odr-shadow);
    transition: var(--odr-transition);
    border: 2px solid transparent;
}

.user-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--odr-shadow-xl);
    border-color: var(--odr-secondary);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.card-icon.individual {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.card-icon.business {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
}

.user-type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--odr-dark);
}

.user-type-card > p {
    color: var(--odr-gray-600);
    margin-bottom: 24px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: left;
}

.card-features li {
    padding: 8px 0;
    color: var(--odr-gray-700);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: var(--odr-accent);
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--odr-white);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.step-card {
    background: var(--odr-white);
    padding: 32px 24px;
    border-radius: var(--odr-radius-lg);
    text-align: center;
    width: 200px;
    position: relative;
    border: 2px solid var(--odr-gray-200);
    transition: var(--odr-transition);
}

.step-card:hover {
    border-color: var(--odr-secondary);
    box-shadow: var(--odr-shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--odr-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--odr-gray-100), var(--odr-gray-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 20px;
    font-size: 1.8rem;
    color: var(--odr-primary);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--odr-dark);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--odr-gray-600);
    line-height: 1.5;
}

.step-time {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: var(--odr-gray-100);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--odr-gray-600);
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--odr-gray-400);
    font-size: 1.5rem;
    padding-top: 60px;
}

/* ===== Features Section ===== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--odr-primary) 0%, var(--odr-primary-light) 100%);
}

.features-section .section-title {
    color: var(--odr-white);
}

.features-section .section-title::after {
    background: var(--odr-accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--odr-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--odr-transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--odr-accent), #2f855a);
    border-radius: var(--odr-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    color: var(--odr-white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 80px 0;
    background: var(--odr-gray-100);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category-card {
    background: var(--odr-white);
    padding: 24px;
    border-radius: var(--odr-radius);
    text-align: center;
    box-shadow: var(--odr-shadow);
    transition: var(--odr-transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--odr-shadow-lg);
}

.category-card i {
    font-size: 2rem;
    color: var(--odr-secondary);
    margin-bottom: 12px;
    display: block;
}

.category-card span {
    font-weight: 600;
    color: var(--odr-dark);
    font-size: 0.95rem;
}

/* ===== Comparison Section ===== */
.comparison-section {
    padding: 100px 0;
    background: var(--odr-white);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--odr-radius-lg);
    overflow: hidden;
    box-shadow: var(--odr-shadow-lg);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
}

.comparison-row.header {
    background: var(--odr-primary);
}

.comparison-row.header .comparison-cell {
    color: var(--odr-white);
    font-weight: 600;
    padding: 20px;
}

.comparison-row:not(.header) {
    border-bottom: 1px solid var(--odr-gray-200);
}

.comparison-row:not(.header):hover {
    background: var(--odr-gray-100);
}

.comparison-cell {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-cell.odr i.fa-check-circle {
    color: var(--odr-accent);
}

.comparison-cell.court i.fa-times-circle {
    color: var(--odr-danger);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
    background: var(--odr-gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--odr-shadow);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--odr-transition);
}

.faq-question:hover {
    background: var(--odr-gray-100);
}

.faq-question span {
    font-weight: 600;
    color: var(--odr-dark);
}

.faq-question i {
    color: var(--odr-gray-500);
    transition: var(--odr-transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--odr-gray-600);
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--odr-accent), #2f855a);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--odr-white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-section .btn.primary {
    background: var(--odr-white);
    color: var(--odr-accent);
}

.cta-section .btn.secondary {
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===== Disclaimer Section ===== */
.disclaimer-section {
    padding: 40px 0;
    background: #fff3cd;
}

.disclaimer-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.disclaimer-icon {
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disclaimer-icon i {
    color: #856404;
    font-size: 1.5rem;
}

.disclaimer-content h4 {
    color: #856404;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.disclaimer-content p {
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--odr-dark);
    padding: 60px 0 30px;
    color: var(--odr-gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--odr-white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--odr-white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-col p {
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--odr-gray-400);
    text-decoration: none;
    transition: var(--odr-transition);
}

.footer-col ul li a:hover {
    color: var(--odr-white);
}

.footer-col ul li i {
    margin-right: 8px;
    color: var(--odr-secondary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--odr-gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--odr-gray-400);
    transition: var(--odr-transition);
}

.social-links a:hover {
    background: var(--odr-secondary);
    color: var(--odr-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--odr-gray-800);
    font-size: 0.9rem;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--odr-white);
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--odr-gray-200);
}

.mobile-menu-header .logo-text {
    font-weight: 700;
    color: var(--odr-primary);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--odr-gray-600);
}

.mobile-menu-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-links a {
    color: var(--odr-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--odr-gray-200);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .navbar .container {
        min-height: 72px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a:not(.btn) {
        font-size: 0.92rem;
    }

    .nav-links .btn {
        padding: 11px 18px;
    }

    .odr-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .navbar .container {
        min-height: 64px;
    }

    .odr-hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn.large {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .user-type-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 10px 0;
    }

    .step-card {
        width: 100%;
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .comparison-row.header .comparison-cell:first-child {
        display: none;
    }

    .comparison-cell:first-child {
        font-weight: 600;
        background: var(--odr-gray-100);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .disclaimer-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-links .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .odr-hero {
        padding: 104px 0 64px;
    }

    .odr-hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .user-type-card,
    .feature-card,
    .step-card {
        padding-left: 22px;
        padding-right: 22px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .comparison-cell {
        padding: 14px 16px;
    }
}

/* ===== ODR Dashboard Styles ===== */
.odr-dashboard {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--odr-gray-100);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    color: var(--odr-dark);
}

.dashboard-tabs {
    display: flex;
    gap: 8px;
    background: var(--odr-white);
    padding: 8px;
    border-radius: var(--odr-radius);
    box-shadow: var(--odr-shadow);
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    color: var(--odr-gray-600);
    transition: var(--odr-transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--odr-secondary);
    color: var(--odr-white);
}

.disputes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.dispute-card {
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    padding: 24px;
    box-shadow: var(--odr-shadow);
    transition: var(--odr-transition);
    border-left: 4px solid var(--odr-secondary);
}

.dispute-card:hover {
    box-shadow: var(--odr-shadow-lg);
}

.dispute-card.negotiation {
    border-left-color: var(--odr-info);
}

.dispute-card.mediation {
    border-left-color: var(--odr-warning);
}

.dispute-card.settled {
    border-left-color: var(--odr-success);
}

.dispute-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dispute-id {
    font-size: 0.85rem;
    color: var(--odr-gray-500);
}

.dispute-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dispute-status.negotiation {
    background: #e3f2fd;
    color: #1565c0;
}

.dispute-status.mediation {
    background: #fff3e0;
    color: #ef6c00;
}

.dispute-status.settled {
    background: #e8f5e9;
    color: #2e7d32;
}

.dispute-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--odr-dark);
    margin-bottom: 8px;
}

.dispute-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--odr-gray-600);
}

.dispute-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dispute-progress {
    margin-bottom: 16px;
}

.progress-bar {
    height: 6px;
    background: var(--odr-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--odr-secondary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.dispute-actions {
    display: flex;
    gap: 12px;
}

.dispute-actions .btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    box-shadow: var(--odr-shadow);
}

.empty-state i {
    font-size: 4rem;
    color: var(--odr-gray-400);
    margin-bottom: 20px;
}

.empty-state h3 {
    color: var(--odr-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--odr-gray-600);
    margin-bottom: 24px;
}

/* ===== Form Styles ===== */
.odr-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.odr-form {
    background: var(--odr-white);
    border-radius: var(--odr-radius-lg);
    padding: 48px;
    box-shadow: var(--odr-shadow-lg);
    position: relative;
    overflow: hidden;
}

.odr-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--odr-secondary), var(--odr-accent));
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--odr-secondary), var(--odr-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--odr-shadow);
}

.form-icon i {
    font-size: 2.5rem;
    color: var(--odr-white);
}

.form-header h1 {
    font-size: 2.2rem;
    color: var(--odr-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.form-header p {
    color: var(--odr-gray-600);
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-progress {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 100%;
    width: 32px;
    height: 2px;
    background: var(--odr-gray-300);
    z-index: 1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after,
.progress-step.active::after {
    background: var(--odr-accent);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--odr-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--odr-gray-500);
    transition: var(--odr-transition);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-icon,
.progress-step.completed .step-icon {
    background: var(--odr-secondary);
    color: var(--odr-white);
    transform: scale(1.1);
}

.progress-step.completed .step-icon {
    background: var(--odr-accent);
}

.progress-step .step-label {
    font-size: 0.9rem;
    color: var(--odr-gray-500);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--odr-dark);
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: var(--odr-gray-200);
    border-radius: 2px;
    margin-bottom: 48px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--odr-secondary), var(--odr-accent));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--odr-gray-100);
}

.step-header h2 {
    font-size: 1.6rem;
    color: var(--odr-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-header h2 i {
    color: var(--odr-secondary);
}

.step-header p {
    color: var(--odr-gray-600);
    font-size: 1rem;
}

/* Hide all form steps by default, only show active */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.form-group.animated {
    animation: slideInUp 0.6s ease-out;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--odr-dark);
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--odr-danger);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--odr-gray-400);
    font-size: 1rem;
    z-index: 2;
}

.input-with-icon .form-control {
    padding-left: 48px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--odr-gray-300);
    border-radius: var(--odr-radius);
    font-size: 1rem;
    transition: var(--odr-transition);
    background: var(--odr-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--odr-secondary);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--odr-gray-400);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--odr-gray-100);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: var(--odr-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--odr-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--odr-secondary), var(--odr-primary));
    color: var(--odr-white);
    box-shadow: var(--odr-shadow);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--odr-shadow-lg);
}

.btn.secondary {
    background: var(--odr-gray-100);
    color: var(--odr-gray-700);
    border: 2px solid var(--odr-gray-300);
}

.btn.secondary:hover {
    background: var(--odr-gray-200);
    border-color: var(--odr-gray-400);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--odr-gray-500);
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-hint i {
    color: var(--odr-info);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== Type Selection ===== */
.type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.type-card {
    border: 2px solid var(--odr-gray-300);
    border-radius: var(--odr-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--odr-transition);
    background: var(--odr-white);
    position: relative;
}

.type-card:hover {
    border-color: var(--odr-secondary);
    transform: translateY(-2px);
    box-shadow: var(--odr-shadow);
}

.type-card input:checked + .type-card-content {
    border-color: var(--odr-secondary);
}

.type-card input {
    display: none;
}

.type-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.type-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--odr-secondary), var(--odr-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--odr-white);
    font-size: 1.5rem;
}

.type-info h4 {
    color: var(--odr-dark);
    margin-bottom: 4px;
    font-size: 1.1rem;
    font-weight: 600;
}

.type-info p {
    font-size: 0.9rem;
    color: var(--odr-gray-600);
    margin: 0;
}

.type-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--odr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--odr-white);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--odr-transition);
}

.type-card input:checked ~ .type-check {
    opacity: 1;
    transform: scale(1);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.category-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid var(--odr-gray-300);
    border-radius: var(--odr-radius);
    cursor: pointer;
    transition: var(--odr-transition);
    background: var(--odr-white);
    text-align: center;
}

.category-option:hover {
    border-color: var(--odr-secondary);
    background: rgba(49, 130, 206, 0.05);
}

.category-option input {
    display: none;
}

.category-option input:checked + i {
    color: var(--odr-secondary);
    transform: scale(1.2);
}

.category-option input:checked ~ span {
    color: var(--odr-secondary);
    font-weight: 600;
}

.category-option i {
    color: var(--odr-gray-400);
    font-size: 1.5rem;
    transition: var(--odr-transition);
}

.category-option span {
    font-size: 0.85rem;
    color: var(--odr-gray-700);
    transition: var(--odr-transition);
}

/* ===== Document Upload ===== */
.document-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.doc-type-card {
    background: var(--odr-gray-50);
    border-radius: var(--odr-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--odr-gray-200);
    transition: var(--odr-transition);
}

.doc-type-card:hover {
    border-color: var(--odr-secondary);
    background: rgba(49, 130, 206, 0.05);
}

.doc-type-card i {
    font-size: 2rem;
    color: var(--odr-secondary);
    margin-bottom: 12px;
    display: block;
}

.doc-type-card h4 {
    color: var(--odr-dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.doc-type-card p {
    font-size: 0.8rem;
    color: var(--odr-gray-600);
    margin: 0;
}

.file-upload-zone {
    border: 2px dashed var(--odr-gray-300);
    border-radius: var(--odr-radius);
    padding: 48px 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--odr-transition);
    background: var(--odr-gray-50);
    position: relative;
    overflow: hidden;
}

.file-upload-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(49, 130, 206, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-upload-zone:hover {
    border-color: var(--odr-secondary);
    background: rgba(49, 130, 206, 0.05);
}

.file-upload-zone:hover::before {
    opacity: 1;
}

.upload-icon {
    margin-bottom: 20px;
}

.upload-icon i {
    font-size: 4rem;
    color: var(--odr-gray-400);
    transition: var(--odr-transition);
}

.file-upload-zone:hover .upload-icon i {
    color: var(--odr-secondary);
    transform: scale(1.1);
}

.upload-content h4 {
    color: var(--odr-dark);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.upload-content p {
    color: var(--odr-gray-500);
    margin-bottom: 16px;
}

.upload-link {
    color: var(--odr-secondary);
    font-weight: 600;
    text-decoration: underline;
}

.upload-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--odr-gray-500);
}

.uploaded-files {
    margin-top: 24px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--odr-gray-50);
    border-radius: var(--odr-radius);
    margin-bottom: 12px;
    border: 1px solid var(--odr-gray-200);
}

.file-item i {
    color: var(--odr-secondary);
    margin-right: 12px;
    font-size: 1.2rem;
}

.file-item .file-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--odr-dark);
}

.file-item .remove-file {
    color: var(--odr-danger);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--odr-transition);
}

.file-item .remove-file:hover {
    background: rgba(229, 62, 62, 0.1);
}

.form-notice {
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.1), rgba(56, 161, 105, 0.1));
    border: 1px solid var(--odr-gray-200);
    border-radius: var(--odr-radius);
    padding: 20px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-notice i {
    color: var(--odr-info);
    font-size: 1.2rem;
    margin-top: 2px;
}

.form-notice p {
    color: var(--odr-gray-700);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== Review Section ===== */
.review-summary {
    margin-bottom: 40px;
}

.review-section {
    background: var(--odr-gray-50);
    border-radius: var(--odr-radius);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--odr-gray-200);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--odr-gray-200);
}

.section-header i {
    color: var(--odr-secondary);
    font-size: 1.2rem;
}

.section-header h3 {
    color: var(--odr-dark);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--odr-gray-100);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: var(--odr-gray-600);
    font-weight: 500;
}

.review-value {
    color: var(--odr-dark);
    font-weight: 600;
    text-align: right;
}

/* ===== Terms Section ===== */
.terms-section {
    background: var(--odr-gray-50);
    border-radius: var(--odr-radius);
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid var(--odr-gray-200);
}

.terms-section h4 {
    color: var(--odr-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.terms-section h4 i {
    color: var(--odr-secondary);
}

.terms-grid {
    display: grid;
    gap: 16px;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    border: 1px solid var(--odr-gray-200);
    cursor: pointer;
    transition: var(--odr-transition);
}

.term-item:hover {
    border-color: var(--odr-secondary);
    box-shadow: var(--odr-shadow);
}

.term-item input {
    margin-top: 2px;
    flex-shrink: 0;
}

.term-content {
    font-size: 0.9rem;
    color: var(--odr-gray-700);
    line-height: 1.5;
}

.term-content strong {
    color: var(--odr-dark);
}

.submit-notice {
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1), rgba(49, 130, 206, 0.1));
    border: 1px solid var(--odr-accent);
    border-radius: var(--odr-radius);
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.submit-notice i {
    color: var(--odr-accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

.submit-notice p {
    color: var(--odr-gray-700);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-control {
    border: 2px solid var(--odr-gray-300);
    border-radius: var(--odr-radius);
    font-size: 1rem;
    transition: var(--odr-transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--odr-secondary);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-control::placeholder {
    color: var(--odr-gray-400);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--odr-gray-200);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--odr-gray-500);
    margin-top: 6px;
}

/* ===== Type Selection ===== */
.type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.type-option {
    border: 2px solid var(--odr-gray-300);
    border-radius: var(--odr-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--odr-transition);
}

.type-option:hover {
    border-color: var(--odr-secondary);
    background: var(--odr-gray-100);
}

.type-option.selected {
    border-color: var(--odr-secondary);
    background: rgba(49, 130, 206, 0.05);
}

.type-option input {
    display: none;
}

.type-option i {
    font-size: 2.5rem;
    color: var(--odr-secondary);
    margin-bottom: 12px;
    display: block;
}

.type-option h4 {
    color: var(--odr-dark);
    margin-bottom: 6px;
}

.type-option p {
    font-size: 0.9rem;
    color: var(--odr-gray-600);
}

/* ===== File Upload ===== */
.file-upload-zone {
    border: 2px dashed var(--odr-gray-300);
    border-radius: var(--odr-radius);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--odr-transition);
}

.file-upload-zone:hover {
    border-color: var(--odr-secondary);
    background: var(--odr-gray-100);
}

.file-upload-zone i {
    font-size: 3rem;
    color: var(--odr-gray-400);
    margin-bottom: 16px;
}

.file-upload-zone h4 {
    color: var(--odr-dark);
    margin-bottom: 8px;
}

.file-upload-zone p {
    font-size: 0.9rem;
    color: var(--odr-gray-500);
}

.uploaded-files {
    margin-top: 20px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--odr-gray-100);
    border-radius: 8px;
    margin-bottom: 8px;
}

.file-item i {
    color: var(--odr-secondary);
    margin-right: 10px;
}

.file-item .file-name {
    flex: 1;
    font-size: 0.9rem;
}

.file-item .remove-file {
    color: var(--odr-danger);
    cursor: pointer;
}

/* ===== Dispute Room ===== */
.dispute-room {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--odr-gray-100);
}

.room-header {
    background: var(--odr-white);
    padding: 20px 0;
    box-shadow: var(--odr-shadow);
    margin-bottom: 24px;
}

.room-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-info h1 {
    font-size: 1.4rem;
    color: var(--odr-dark);
    margin-bottom: 4px;
}

.room-info p {
    font-size: 0.9rem;
    color: var(--odr-gray-600);
}

.room-layout {
    display: grid;
    grid-template-columns: 300px 1fr 350px;
    gap: 24px;
}

.room-sidebar {
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    padding: 24px;
    box-shadow: var(--odr-shadow);
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section h3 {
    font-size: 1rem;
    color: var(--odr-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-section h3 i {
    color: var(--odr-secondary);
}

.case-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--odr-gray-200);
    font-size: 0.9rem;
}

.case-detail .label {
    color: var(--odr-gray-600);
}

.case-detail .value {
    font-weight: 500;
    color: var(--odr-dark);
}

.room-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.negotiation-panel {
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    padding: 24px;
    box-shadow: var(--odr-shadow);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h2 {
    font-size: 1.2rem;
    color: var(--odr-dark);
}

.offer-form {
    background: var(--odr-gray-100);
    padding: 20px;
    border-radius: var(--odr-radius);
    margin-bottom: 20px;
}

.offer-history {
    max-height: 300px;
    overflow-y: auto;
}

.offer-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--odr-radius);
    margin-bottom: 12px;
}

.offer-item.sent {
    background: rgba(49, 130, 206, 0.1);
    margin-left: 40px;
}

.offer-item.received {
    background: var(--odr-gray-100);
    margin-right: 40px;
}

.offer-avatar {
    width: 40px;
    height: 40px;
    background: var(--odr-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.offer-content {
    flex: 1;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.offer-from {
    font-weight: 600;
    color: var(--odr-dark);
}

.offer-time {
    font-size: 0.8rem;
    color: var(--odr-gray-500);
}

.offer-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--odr-primary);
    margin-bottom: 8px;
}

.offer-terms {
    font-size: 0.9rem;
    color: var(--odr-gray-600);
}

.offer-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.messaging-panel {
    background: var(--odr-white);
    border-radius: var(--odr-radius);
    box-shadow: var(--odr-shadow);
    display: flex;
    flex-direction: column;
    height: 400px;
}

.messages-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.message {
    max-width: 80%;
    margin-bottom: 16px;
}

.message.sent {
    margin-left: auto;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
}

.message.sent .message-bubble {
    background: var(--odr-secondary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.received .message-bubble {
    background: var(--odr-gray-100);
    color: var(--odr-dark);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: var(--odr-gray-500);
    margin-top: 4px;
    text-align: right;
}

.message-input {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--odr-gray-200);
}

.message-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--odr-gray-300);
    border-radius: 24px;
    outline: none;
}

.message-input input:focus {
    border-color: var(--odr-secondary);
}

.ai-improve-btn {
    background: none;
    border: none;
    color: var(--odr-secondary);
    cursor: pointer;
    padding: 8px;
    font-size: 1.2rem;
}

.ai-improve-btn:hover {
    color: var(--odr-primary);
}

/* ===== AI Assistance Badge ===== */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ai-badge i {
    font-size: 0.8rem;
}

/* ===== Notifications ===== */
.notification-badge {
    width: 20px;
    height: 20px;
    background: var(--odr-danger);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* ===== Modals ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--odr-white);
    border-radius: var(--odr-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--odr-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.3rem;
    color: var(--odr-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--odr-gray-500);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--odr-gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ===== Consent Checkbox ===== */
.consent-box {
    background: var(--odr-gray-100);
    padding: 20px;
    border-radius: var(--odr-radius);
    margin-bottom: 20px;
}

.consent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.consent-item:last-child {
    margin-bottom: 0;
}

.consent-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--odr-secondary);
}

.consent-item label {
    font-size: 0.9rem;
    color: var(--odr-gray-700);
    line-height: 1.5;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .odr-form-container {
        padding: 100px 16px 40px;
    }

    .odr-form {
        padding: 32px 20px;
    }

    .form-header h1 {
        font-size: 1.8rem;
    }

    .form-icon {
        width: 70px;
        height: 70px;
    }

    .form-icon i {
        font-size: 2rem;
    }

    .form-progress {
        gap: 20px;
        margin-bottom: 32px;
    }

    .progress-step {
        gap: 8px;
    }

    .progress-step::after {
        width: 20px;
    }

    .step-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .progress-step .step-label {
        font-size: 0.8rem;
    }

    .type-selection {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .document-types {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .step-header h2 {
        font-size: 1.3rem;
    }

    .form-control {
        padding: 14px 16px;
        font-size: 16px;
    }

    .input-with-icon .form-control {
        padding-left: 44px;
    }

    .input-with-icon i {
        left: 14px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .review-item {
        flex-direction: column;
        gap: 4px;
    }

    .review-value {
        text-align: left;
    }

    .file-upload-zone {
        padding: 32px 20px;
    }

    .upload-icon i {
        font-size: 3rem;
    }

    .terms-grid {
        gap: 12px;
    }

    .term-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .odr-form-container {
        padding: 80px 12px 30px;
    }

    .odr-form {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .form-header {
        margin-bottom: 32px;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .form-icon {
        width: 60px;
        height: 60px;
    }

    .form-icon i {
        font-size: 1.6rem;
    }

    .form-progress {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-bottom: 24px;
    }

    .progress-step {
        gap: 4px;
    }

    .progress-step::after {
        display: none;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .progress-step .step-label {
        font-size: 0.7rem;
        max-width: 50px;
        text-align: center;
    }

    .progress-bar-container {
        margin-bottom: 24px;
    }

    .step-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .step-header h2 {
        font-size: 1.2rem;
    }

    .step-header p {
        font-size: 0.85rem;
    }

    .type-selection {
        gap: 12px;
    }

    .type-card {
        padding: 16px;
    }

    .type-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .type-info h4 {
        font-size: 1rem;
    }

    .type-info p {
        font-size: 0.8rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .category-option {
        padding: 12px 8px;
        gap: 6px;
    }

    .category-option i {
        font-size: 1.2rem;
    }

    .category-option span {
        font-size: 0.75rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 8px;
    }

    .input-with-icon i {
        left: 12px;
        font-size: 0.9rem;
    }

    .input-with-icon .form-control {
        padding-left: 40px;
    }

    textarea.form-control {
        min-height: 80px;
    }

    .form-hint {
        font-size: 0.8rem;
        gap: 6px;
    }

    .document-types {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .doc-type-card {
        padding: 16px;
    }

    .doc-type-card i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .doc-type-card h4 {
        font-size: 0.9rem;
    }

    .doc-type-card p {
        font-size: 0.75rem;
    }

    .file-upload-zone {
        padding: 24px 16px;
    }

    .upload-icon i {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .upload-content h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .upload-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .upload-details {
        flex-direction: column;
        gap: 8px;
        font-size: 0.8rem;
    }

    .file-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .file-item i {
        margin-right: 8px;
        font-size: 1rem;
    }

    .file-item .file-name {
        font-size: 0.85rem;
    }

    .form-notice {
        padding: 16px;
        gap: 10px;
        margin-top: 16px;
    }

    .form-notice i {
        font-size: 1rem;
    }

    .form-notice p {
        font-size: 0.85rem;
    }

    .review-summary {
        margin-bottom: 24px;
    }

    .review-section {
        padding: 16px;
        margin-bottom: 12px;
    }

    .section-header {
        gap: 8px;
        margin-bottom: 12px;
    }

    .section-header i {
        font-size: 1rem;
    }

    .section-header h3 {
        font-size: 1rem;
    }

    .review-item {
        padding: 6px 0;
        font-size: 0.9rem;
    }

    .review-label {
        font-size: 0.85rem;
    }

    .review-value {
        font-size: 0.85rem;
    }

    .terms-section {
        padding: 16px;
        margin-bottom: 20px;
    }

    .terms-section h4 {
        margin-bottom: 12px;
        font-size: 1rem;
    }

    .terms-grid {
        gap: 12px;
    }

    .term-item {
        padding: 12px;
        gap: 10px;
    }

    .term-content {
        font-size: 0.85rem;
    }

    .submit-notice {
        padding: 16px;
        margin-bottom: 20px;
        gap: 10px;
    }

    .submit-notice i {
        font-size: 1rem;
    }

    .submit-notice p {
        font-size: 0.85rem;
    }

    .form-actions {
        margin-top: 20px;
        padding-top: 20px;
        gap: 10px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar, .mobile-menu, .footer, .btn, .dispute-actions {
        display: none !important;
    }

    .dispute-room {
        padding-top: 0;
    }

    .room-layout {
        grid-template-columns: 1fr;
    }
}
