/* ============================================
   SEZGIN SIGORTAM - Modern Design System
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #1B2A4A;
    --secondary-light: #2A3D6A;
    --accent: #00C9A7;
    --accent-dark: #00A88A;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --dark: #0F172A;
    --gray-900: #1E293B;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748B;
    --gray-500: #94A3B8;
    --gray-400: #CBD5E1;
    --gray-300: #E2E8F0;
    --gray-200: #F1F5F9;
    --gray-100: #F8FAFC;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--gray-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    color: var(--secondary);
    white-space: nowrap;
}

.logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo strong {
    color: var(--primary);
}

.burger-btn {
    display: none;
    font-size: 1.4rem;
    color: var(--gray-700);
    padding: 8px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    padding: 4px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-header {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login {
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-register {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-register:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-user {
    background: var(--secondary);
    color: var(--white);
}

.btn-user:hover {
    background: var(--secondary-light);
}

.btn-admin {
    background: var(--gray-600);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 50%;
}

.btn-admin:hover {
    background: var(--gray-700);
}

/* ============================================
   MOBILE SIDEBAR
   ============================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 300;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-sidebar.open {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}

.mobile-logo i {
    color: var(--primary);
    font-size: 1.3rem;
}

.mobile-close-btn {
    color: var(--white);
    font-size: 1.3rem;
    padding: 4px;
}

.mobile-sidebar-body {
    padding: 12px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-nav-link.highlight {
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.mobile-nav-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.mobile-logout-btn {
    color: var(--danger);
}

.mobile-logout-btn:hover {
    color: var(--danger);
    background: #FEF2F2;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #0D1B35 60%, #0A1428 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    font-weight: 400;
    margin-bottom: 10px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-section {
    padding: 50px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.product-card:hover .product-card-icon {
    transform: scale(1.1);
}

.product-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.product-card .arrow-icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.product-card:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================
   WIDGETS (FAQ & AD CARDS)
   ============================================ */
.widgets-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
}

.section-title span {
    color: var(--primary);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Ad Cards */
.ad-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ad-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.ad-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ad-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.ad-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.5;
}

.ad-card .btn-card {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.ad-card .btn-card:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
    padding: 40px 0 60px;
}

.form-container {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.form-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    cursor: pointer;
    appearance: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.form-link {
    text-align: center;
    margin-top: 16px;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.form-link a {
    color: var(--primary);
    font-weight: 600;
}

.form-link a:hover {
    text-decoration: underline;
}

/* ============================================
   RESULTS PAGE
   ============================================ */
.results-section {
    padding: 40px 0 60px;
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: 36px;
}

.results-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
}

.results-header p {
    color: var(--gray-500);
    margin-top: 6px;
}

.company-result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.company-result-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.company-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.company-logo-box {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.company-logo-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.company-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800);
}

.company-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-teklif,
.btn-whatsapp-quote {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-teklif {
    background: var(--primary);
    color: var(--white);
}

.btn-teklif:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-whatsapp-quote {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp-quote:hover {
    background: #1DAA54;
    transform: translateY(-1px);
}

/* Loading Animation */
.company-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    animation: loadingFill 5s ease-in-out forwards;
}

@keyframes loadingFill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Bottom Actions */
.results-bottom-actions {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-best-offer {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-best-sms {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-best-sms:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.btn-best-whatsapp {
    background: linear-gradient(135deg, #25D366, #1DAA54);
    color: var(--white);
}

.btn-best-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
}

/* ============================================
   USER PANEL
   ============================================ */
.panel-section {
    padding: 40px 0;
}

.panel-container {
    max-width: 1100px;
    margin: 0 auto;
}

.panel-header {
    margin-bottom: 32px;
}

.panel-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.panel-header p {
    color: var(--gray-500);
    margin-top: 4px;
}

.panel-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.panel-nav a {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.panel-nav a:hover,
.panel-nav a.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Quote Cards */
.quote-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition);
}

.quote-card:hover {
    box-shadow: var(--shadow-md);
}

.quote-card-info h3 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800);
}

.quote-card-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.quote-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.badge-info {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-primary {
    background: #E0E7FF;
    color: #3730A3;
}

.badge-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--secondary);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 50;
}

.admin-sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-sidebar-header h2 i {
    color: var(--primary);
}

.admin-sidebar-header span {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    margin-top: 4px;
}

.admin-nav {
    padding: 16px 0;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--gray-400);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.admin-nav-link.active {
    border-left: 3px solid var(--primary);
}

.admin-nav-link i {
    width: 20px;
    text-align: center;
}

.admin-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 24px;
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 32px;
    min-height: 100vh;
    background: var(--gray-100);
}

.admin-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.admin-main-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Admin Cards */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 0 0 0 80px;
    opacity: 0.08;
}

.admin-stat-card.primary::after {
    background: var(--primary);
}

.admin-stat-card.info::after {
    background: var(--info);
}

.admin-stat-card.success::after {
    background: var(--success);
}

.admin-stat-card.warning::after {
    background: var(--warning);
}

.admin-stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
}

.admin-stat-card.primary h3 {
    color: var(--primary);
}

.admin-stat-card.info h3 {
    color: var(--info);
}

.admin-stat-card.success h3 {
    color: var(--success);
}

.admin-stat-card.warning h3 {
    color: var(--warning);
}

.admin-stat-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.admin-stat-card .stat-icon {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--gray-400);
}

/* Admin Table */
.admin-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-table-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    background: var(--gray-50, #F9FAFB);
    border-bottom: 1px solid var(--gray-200);
}

.admin-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.admin-table tr:hover td {
    background: var(--gray-50, #F9FAFB);
}

.admin-table .actions-cell {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #16A34A;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-info {
    background: var(--info);
    color: var(--white);
}

.btn-info:hover {
    background: #2563EB;
}

/* Admin Chart Container */
.chart-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.chart-container h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

/* Filters */
.filters-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font);
    background: var(--white);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   STATIC PAGES
   ============================================ */
.page-section {
    padding: 50px 0;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.page-container h1,
.page-container h2 {
    color: var(--secondary);
    margin-bottom: 16px;
}

.page-container p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: slideInRight 0.4s ease;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 0.9rem;
    max-width: 400px;
}

.toast-notification.success {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: var(--white);
}

.toast-notification.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: var(--white);
}

.toast-notification button {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 4px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: linear-gradient(135deg, var(--secondary) 0%, #0D1B35 50%, #0A1428 100%);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-top: 20px;
}

.footer-wave {
    position: absolute;
    top: -59px;
    left: 0;
    right: 0;
    color: var(--secondary);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 48px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.footer-logo strong {
    color: var(--primary-light);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links ul li a i {
    font-size: 0.6rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-links ul li a:hover i {
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact-item span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.footer-contact-item strong {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.pagination-wrapper nav {
    display: flex;
    gap: 4px;
    align-items: center;
}

.pagination-wrapper .page-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination-wrapper .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-wrapper .page-item.disabled .page-link {
    color: var(--gray-400);
    cursor: not-allowed;
}

/* ============================================
   QUOTE DETAIL / OFFER
   ============================================ */
.detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.detail-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
    border: none;
}

.detail-label {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--gray-800);
    font-weight: 500;
}

.offer-card {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.offer-company {
    font-weight: 600;
    color: var(--secondary);
    margin-top: 4px;
}

.offer-notes {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .burger-btn {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions .btn-login,
    .header-actions .btn-register {
        display: none;
    }

    .btn-user span {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card {
        padding: 20px 14px;
    }

    .product-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .product-card-title {
        font-size: 0.82rem;
    }

    .ad-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .form-container {
        padding: 24px;
        margin: 0 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .company-result-card {
        flex-direction: column;
        text-align: center;
    }

    .company-actions {
        width: 100%;
        justify-content: center;
    }

    .results-bottom-actions {
        grid-template-columns: 1fr;
    }

    .panel-nav {
        gap: 6px;
    }

    .panel-nav a {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Admin responsive */
    .admin-sidebar {
        left: -260px;
        transition: left 0.3s ease;
    }

    .admin-sidebar.open {
        left: 0;
    }

    .admin-main {
        margin-left: 0;
        padding: 20px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-table {
        display: block;
        overflow-x: auto;
    }

    .filters-bar {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-wave {
        top: -29px;
    }

    .footer-wave svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ad-cards-grid {
        grid-template-columns: 1fr;
    }

    .stat-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--gray-100) 0%, #E8EDF5 100%);
}

/* Verification code input */
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    transition: var(--transition);
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    max-width: 500px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.modal-close {
    font-size: 1.3rem;
    color: var(--gray-500);
    cursor: pointer;
}

/* Reports specific */
.report-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.report-summary-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.report-summary-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.report-summary-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

/* Partner Logos Grid */
.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 100px;
}

.partner-logo-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partner-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .partner-logo-item {
        padding: 14px;
        min-height: 80px;
    }

    .partner-logo-item img {
        max-height: 50px;
    }
}