:root {
    --primary-color: #FFD200;
    --dark-color: #1A1A1A;
    --light-color: #FFFFFF;
    --grey-color: #F7F7F7;
    --text-color: #333333;
    --border-color: #EAEAEA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    zoom: 0.9;
    display: grid;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.main-header {
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    height: 30px;
}

.main-nav {
    margin-left: 20px; /* Adjust spacing between logo and navigation */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--dark-color);
}

/* New header elements */
.header-auth-buttons,
.user-profile {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto; /* Pushes these buttons to the right */
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown .user-link {
    background: none;
    border: none;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.user-dropdown .user-link:hover {
    color: var(--primary-color);
}

.user-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    padding: 8px 0;
    right: 0;
    top: 100%; /* Position below the button */
    margin-top: 10px;
}

.user-dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.user-dropdown-content a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.user-dropdown.active .user-dropdown-content {
    display: block;
}


/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border-color: var(--dark-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--grey-color);
}

.whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #25D366;
    color: var(--light-color);
}

.full-width {
    width: 100%;
}

/* --- Hero Section --- */
#hero {
    background-color: #ffd200a8;
    padding: 80px 0;
    text-align: center;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-features {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

/* Quick Quote Form */
.quick-quote-form {
    background-color: #ffffff82;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-left: 100px;
}

.quick-quote-form h3 {
    text-align: center;
    margin-bottom: 10px;
}

.quick-quote-form p {
    text-align: center;
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.quick-quote-form input,
.quick-quote-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-family: inherit;
}

.quick-quote-form .form-row {
    display: flex;
    gap: 10px;
}

.quick-quote-form .form-row input {
    flex: 1;
}

/* --- Info Sections --- */
.info-section {
    padding: 80px 0;
    text-align: center;
}

.info-section h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.info-section .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.steps-container,
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-card,
.service-card {
    background-color: var(--grey-color);
    padding: 30px;
    border-radius: 12px;
}

.step-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.service-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.step-card h3,
.service-card h4 {
    margin-bottom: 10px;
}

/* --- CTA Section --- */
#cta {
    background-color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.cta-container h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-container p {
    font-size: 18px;
    margin-bottom: 30px;
}

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

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo {
    margin-bottom: 15px;
}

.footer-col p,
.footer-col a {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-col h4 {
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #888;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 20px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}


.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}

.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
}

.full-quote-form .form-group {
    margin-bottom: 15px;
}

.full-quote-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.full-quote-form input,
.full-quote-form textarea,
.full-quote-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.full-quote-form .form-row {
    display: flex;
    gap: 10px;
}

.full-quote-form .form-row .form-group {
    flex: 1;
}

.full-quote-form .dimensions-inputs {
    display: flex;
    gap: 10px;
}

.full-quote-form .dimensions-inputs input {
    flex: 1;
}

.full-quote-form .form-terms {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

/* New CSS to handle the space inside the modal */
.form-section {
    margin-bottom: 20px;
}

.form-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.instructions {
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.package-row {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
}

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

.remove-package-btn {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-package-btn:hover {
    color: var(--dark-color);
}

/* Requests Table Styles */
#requests-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

#requests-table {
    width: 100%;
    border-collapse: collapse;
}

#requests-table th, #requests-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

#requests-table th {
    background-color: var(--grey-color);
    position: sticky;
    top: 0;
}

#requests-table tbody tr:hover {
    background-color: var(--grey-color);
}

/* New styles for password fields with toggles */
.password-container {
    position: relative;
}

.password-container input {
    padding-right: 40px; /* Make space for the icon */
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(20%);
    cursor: pointer;
    color: #aaa;
}

.font-semibold {
    font-weight: 600;
}

/* Add this new section at the end of axis_cargo_style.css or near other form styles */

/* Styles for Custom File Input */
.custom-file-input-wrapper {
    display: flex; /* Helps align the label/button */
    margin-bottom: 10px; /* Space below the button */
}

/* Hide the actual file input */
.custom-file-input-wrapper input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Style the label to look like a button */
.custom-file-label {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--grey-color); /* Light background */
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s, border-color 0.2s;
    font-size: 14px;
}

.custom-file-label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.custom-file-label:hover {
    background-color: #EFEFEF; /* Slightly darker on hover */
    border-color: #DCDCDC;
}

/* Style for the file list display */
.file-list-display {
    margin-top: 5px; /* Adjust spacing from the label */
    padding: 8px 12px;
    border: 1px dashed var(--border-color); /* Dashed border to look like a drop zone */
    border-radius: 4px;
    background-color: var(--light-color);
    min-height: 40px; /* Ensure visibility even when empty */
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    word-break: break-word; /* Ensure long file names wrap */
}

/* FIX: Checkbox Alignment for Terms and Conditions */
#quote-form .form-section .form-group:has(#no_dangerous_items) {
    /* Use Flexbox to align the checkbox and label side-by-side */
    display: flex;
    /* Vertically align items to the start, useful if the text wraps */
    align-items: flex-start;
}

#quote-form .form-section .form-group:has(#no_dangerous_items) input[type="checkbox"] {
    /* Ensures the checkbox doesn't grow or shrink */
    flex-shrink: 0;
    /* Add space to the right of the checkbox */
    margin-right: 10px;
    /* Remove default margin-bottom from the checkbox itself */
    margin-bottom: 0;
    /* Add a little top margin to align with the first line of text */
    margin-top: 4px; /* Adjust this value if needed for perfect alignment */
    /* Remove any forced width */
    width: auto;
}

#quote-form .form-section .form-group:has(#no_dangerous_items) label {
    /* Allows the label text to take the remaining space */
    flex-grow: 1;
    /* Override the display: block; set globally for form labels */
    display: inline; 
    /* Remove margin-bottom from the label */
    margin-bottom: 0;
}
/* Styles for screens smaller than 768px */
/* @media (max-width: 767px) {
    body {
        font-family: 'Poppins', sans-serif;
        color: var(--text-color);
        background-color: var(--light-color);
        line-height: 1.6;
        zoom: 0.9;
        display: grid;
    }
} */

/* Styles for screens larger than 768px */
/* @media (min-width: 768px) {
    
} */