/* Import Google Fonts for premium Thai and English typography */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #f26522; /* MCU Saffron Orange */
    --primary-hover: #d44d0f;
    --secondary: #8d0000; /* MCU Deep Maroon */
    --secondary-hover: #700000;
    --dark: #202124;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-light: #f1f5f9;
    --gray-medium: #cbd5e1;
    --gray-dark: #64748b;
    --border-color: #e2e8f0;

    /* Gradients */
    --mcu-gradient: linear-gradient(135deg, #f26522 0%, #8d0000 100%);
    --saffron-gradient: linear-gradient(135deg, #ff9800 0%, #f26522 100%);
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Fonts */
    --font-heading: 'Kanit', 'Outfit', sans-serif;
    --font-body: 'Sarabun', sans-serif;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navbar */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcu-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--secondary);
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-links a:hover {
    background-color: var(--gray-light);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: var(--mcu-gradient);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h3 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.btn-line-submit {
    background-color: #06c755;
    color: var(--white);
}

.btn-line-submit:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(6, 199, 85, 0.3);
}

.btn-line-payment {
    background-color: #243c56;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-line-payment:hover {
    background-color: #1a2c40;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(36, 60, 86, 0.3);
}

/* Announcement Alert Card */
.announcement {
    margin-top: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.announcement-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(242, 101, 34, 0.05) 100%);
    border: 1.5px solid rgba(239, 68, 68, 0.15);
    border-left: 8px solid var(--danger);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.05), 0 4px 6px -4px rgba(239, 68, 68, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(239, 68, 68, 0.1), 0 8px 10px -6px rgba(239, 68, 68, 0.1);
}

.announcement-icon {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.announcement-text h4 {
    color: var(--danger);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.announcement-text p {
    color: #475569;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
}

.announcement-text p strong.highlight {
    color: var(--secondary);
    font-weight: 700;
}

.announcement-text p strong.highlight.text-danger {
    color: var(--danger);
    font-weight: 700;
}

/* Sections General */
section.py-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary);
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--mcu-gradient);
    border-radius: 2px;
}

/* Stepper Component */
.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    flex-wrap: wrap;
    gap: 20px;
}

.stepper-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: var(--gray-medium);
    z-index: 1;
}

.step-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    cursor: pointer;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--gray-medium);
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.step-item.active .step-number {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.4);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--gray-dark);
    max-width: 180px;
}

/* Stepper Content Panels */
.step-panels {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    min-height: auto;
}

.step-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.step-panel h3 {
    color: var(--secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-panel-grid {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .step-panel-grid {
        grid-template-columns: 1fr;
    }
    .stepper-container::before {
        display: none;
    }
}

.step-panel-icon {
    font-size: 3.5rem;
    color: var(--primary);
    width: 100px;
    height: 100px;
    background-color: rgba(242, 101, 34, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: inset 0 0 10px rgba(242, 101, 34, 0.1);
    border: 2px solid rgba(242, 101, 34, 0.1);
    transition: var(--transition);
}

.step-panel:hover .step-panel-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
}

/* Slideshow Styling */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: var(--white);
    border: 1px solid var(--border-color);
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: auto;
    display: block;
}

/* Next & prev buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: var(--transition);
    border-radius: 50%;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.next {
    right: 15px;
}

.prev {
    left: 15px;
}

.prev:hover, .next:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Dot indicators */
.slideshow-dots {
    text-align: center;
    padding-top: 15px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--gray-medium);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--primary);
    width: 24px;
    border-radius: 6px;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Document Search & Grid */
.search-box {
    max-width: 500px;
    margin: 0 auto 30px auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 12px;
    border: 1px solid var(--gray-medium);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    font-size: 1.1rem;
}

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

@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

.doc-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.doc-card:hover::before {
    opacity: 1;
}

.doc-info {
    margin-bottom: 20px;
}

.doc-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(242, 101, 34, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.doc-card.pdf .doc-icon-wrapper {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

.doc-card.word .doc-icon-wrapper {
    background-color: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}

.doc-card.image .doc-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.08);
    color: #10b981;
}

.doc-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.doc-desc {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.doc-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.tag-word {
    background-color: #eff6ff;
    color: #1e40af;
}

.tag-pdf {
    background-color: #fef2f2;
    color: #991b1b;
}

.tag-image {
    background-color: #ecfdf5;
    color: #065f46;
}

.tag-ext {
    background-color: var(--gray-light);
    color: var(--gray-dark);
}

.doc-action {
    margin-top: auto;
}

.btn-download {
    width: 100%;
    justify-content: center;
    background-color: var(--gray-light);
    color: var(--dark);
    font-size: 0.95rem;
    padding: 10px 16px;
}

.btn-download:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Payment & Fees Info Grid */
.payment-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.payment-title {
    color: var(--secondary);
    font-size: 1.35rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ttb-bank-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.ttb-logo {
    height: 40px;
    width: auto;
}

.bank-detail-list {
    list-style: none;
}

.bank-detail-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.bank-detail-label {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.bank-detail-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-copy {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.btn-copy:hover {
    background-color: rgba(242, 101, 34, 0.08);
}

/* Tooltip copy confirmation */
.tooltip-copied {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
    z-index: 10;
}

.tooltip-copied.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

/* Fee Calculator Section */
.calc-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .calc-option-grid {
        grid-template-columns: 1fr;
    }
}

.calc-option-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.calc-option-card:hover {
    border-color: var(--primary);
}

.calc-option-card.active {
    border-color: var(--primary);
    background-color: rgba(242, 101, 34, 0.05);
}

.calc-option-icon {
    font-size: 1.5rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.calc-option-card.active .calc-option-icon {
    color: var(--primary);
}

.calc-option-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.calc-option-fee {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-top: 6px;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.calc-option-card.active .calc-option-fee {
    color: var(--primary);
}

.calc-result-box {
    background-color: var(--gray-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.calc-result-label {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.calc-result-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
}

/* Delivery Details Panel */
.delivery-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    margin-top: 30px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .delivery-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.delivery-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(141, 0, 0, 0.08);
    color: var(--secondary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delivery-info {
    flex-grow: 1;
}

.delivery-info h3 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.delivery-info address {
    font-style: normal;
    color: var(--dark);
    margin-bottom: 12px;
}

/* Tracking / Status Section */
.tracking-wrapper {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.tracking-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

/* Footer Section */
footer {
    background-color: #1e1e1e;
    color: #e2e8f0;
    padding: 40px 0 20px 0;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-admins {
        text-align: center;
    }
}

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

.footer-about p {
    color: #a0aec0;
    max-width: 500px;
}

.footer-admins {
    text-align: right;
}

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

.footer-admins ul {
    list-style: none;
    color: #a0aec0;
}

.footer-admins li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #718096;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Alert Notification Widget (Red alert) */
.alert-box {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.alert-danger {
    background-color: #fef2f2;
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

.alert-danger i {
    color: var(--danger);
    font-size: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tracking Status UI Styles */
.tracking-search-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.tracking-form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tracking-input-wrapper {
    position: relative;
    flex-grow: 1;
    min-width: 250px;
}

.tracking-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
}

#trackingSearchInput {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

#trackingSearchInput:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.1);
}

.btn-tracking-submit {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: none;
}

.btn-tracking-submit:hover {
    background-color: var(--primary-hover);
}

.btn-tracking-clear {
    background-color: #e2e8f0;
    color: #475569;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: none;
}

.btn-tracking-clear:hover {
    background-color: #cbd5e1;
    color: #1e293b;
}

.tracking-loading {
    display: none;
    text-align: center;
    padding: 40px;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}

.tracking-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--primary);
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-bottom: 12px;
}

.tracking-loading-text {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.tracking-results-card {
    display: none;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease;
}

.tracking-table-responsive {
    overflow-x: auto;
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.tracking-table th {
    background-color: rgba(141, 0, 0, 0.03);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
}

.tracking-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: #334155;
}

.tracking-table tr:last-child td {
    border-bottom: none;
}

.tracking-table tr:hover td {
    background-color: rgba(242, 101, 34, 0.02);
}

.tracking-empty {
    display: none;
    text-align: center;
    padding: 50px;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    color: var(--gray-dark);
    margin-bottom: 24px;
    animation: fadeIn 0.5s ease;
}

.tracking-empty i {
    font-size: 3rem;
    color: var(--gray-medium);
    margin-bottom: 16px;
}

.tracking-empty p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Badge Status Styles */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.status-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.status-info {
    background-color: #f0f9ff;
    color: #075985;
    border: 1px solid #bae6fd;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


