/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.registration-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}


.route-action-btn, .submit-button {
    height: 44px;
    min-width: 120px;
    font-size: 1.05em;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: #e74c3c !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    margin: 0 6px 0 0;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(231,76,60,0.08);
}
.route-action-btn:hover, .submit-button:hover {
    background-color: #c0392b !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(231,76,60,0.13);
}
.route-action-btn:active, .submit-button:active {
    background-color: #a93226 !important;
    color: #fff;
    box-shadow: 0 1px 2px rgba(231,76,60,0.10);
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#imagePreview {
    max-width: 200px;
    margin-top: 10px;
}

.hidden {
    display: none;
}

/* Loading Spinner - Truck Wheel Style */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack spinner and text */
    z-index: 9999;
    transition: opacity 0.3s;
}

.spinner {
    width: 120px;
    height: 120px;
    position: relative;
    animation: spin 2s linear infinite;
}

/* Black tire */
.spinner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* White rim */
.spinner span:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Gray hub */
.spinner span:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #666;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Spokes */
.spinner span:nth-child(n+3) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 30px 6px;
    border-color: transparent transparent #FF9900 transparent;
    transform-origin: center 0;
    z-index: 2;
}

.spinner span:nth-child(3) { transform: translate(-50%, 0) rotate(0deg); }
.spinner span:nth-child(4) { transform: translate(-50%, 0) rotate(45deg); }
.spinner span:nth-child(5) { transform: translate(-50%, 0) rotate(90deg); }
.spinner span:nth-child(6) { transform: translate(-50%, 0) rotate(135deg); }
.spinner span:nth-child(7) { transform: translate(-50%, 0) rotate(180deg); }
.spinner span:nth-child(8) { transform: translate(-50%, 0) rotate(225deg); }
.spinner span:nth-child(9) { transform: translate(-50%, 0) rotate(270deg); }
.spinner span:nth-child(10) { transform: translate(-50%, 0) rotate(315deg); }

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

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Typing text on splash screen */
.typing-container {
    margin-top: 30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    height: 4em; /* Reserve space for two lines */
    text-align: center;
}

.typing-text {
    overflow: hidden;
    border-right: .1em solid #FF9900; /* The typewriter cursor */
    white-space: nowrap;
    margin: 0.25rem auto;
    letter-spacing: .1em;
    width: 0; /* Initially hidden */
}

#splash-text-1 {
    /* "Made by a Hauler . . ." is 25 chars */
    animation: typing 1.5s steps(25, end) 0.5s forwards,
               blink-caret .75s step-end 0.5s 4; /* Blink 4 times */
}

#splash-text-2 {
    /* ". . . For a Hauler" is 19 chars */
    animation: typing 1.5s steps(19, end) 2.5s forwards,
               blink-caret .75s step-end 2.5s infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #FF9900; }
}

/* Button Styles */

button, .button, .back-button, .add-button, .submit-button, .remove-work-btn, .remove-education-btn, .route-action-btn {
    background-color: #e74c3c !important;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

button:hover, .button:hover, .back-button:hover, .add-button:hover, .submit-button:hover, .remove-work-btn:hover, .remove-education-btn:hover, .route-action-btn:hover {
    background-color: #c0392b !important;
    transform: translateY(1px);
}

button:active, .button:active, .back-button:active, .add-button:active, .submit-button:active, .remove-work-btn:active, .remove-education-btn:active, .route-action-btn:active {
    background-color: #a93226 !important;
    transform: translateY(2px);
}

/* Password Input Styling */
.password-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 35px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FF9900;
    padding: 0;
}

.password-toggle:hover {
    color: #E68A00;
}

.password-toggle i {
    font-size: 16px;
    line-height: 1;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

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

.header img {
    height: 60px;
    margin-right: 15px;
}

.header h1 {
    color: #333;
    font-size: 24px;
    margin: 0;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.auth-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.auth-tab.active {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
    background: none;
}

.auth-tab:hover {
    color: #fff;
    background-color: #e74c3c;
}

.registration-details {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.registration-details .profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

.details-group {
    margin: 10px 0;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.details-group label {
    font-weight: bold;
    margin-right: 10px;
    color: #666;
}

.back-button {
    margin-top: 20px;
    width: 100%;
}

.job-app-section {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.job-app-section p {
    margin-bottom: 15px;
    color: #666;
}

.job-app-button {
    background-color: #e74c3c !important;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: block;
    margin: 20px 0;
    text-align: center;
}

.job-app-button:hover {
    background-color: #c0392b !important;
    text-decoration: none;
}

/* Password strength indicator */
.password-strength {
    height: 5px;
    margin-top: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-weak { background: #ff4d4d; width: 33%; }
.strength-medium { background: #ffd700; width: 66%; }
.strength-strong { background: #2ecc71; width: 100%; }

/* Remember me checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

/* Password reset link */
.forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password a {
    color: #FF9900;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #E68A00;
    text-decoration: underline;
}

.password-requirements {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.password-requirements ul {
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
}

.password-requirements li {
    padding: 2px 0;
    padding-left: 20px;
    position: relative;
}

.password-requirements li:before {
    content: '✗';
    color: #ff4d4d;
    position: absolute;
    left: 0;
}

.password-requirements li.valid:before {
    content: '✓';
    color: #2ecc71;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 20px;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.close-button {
    background-color: #FF9900;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
}

.close-button:hover {
    background-color: #E68A00;
}
.application-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.experience-item, .education-item {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.drag-handle {
    background: #e9eef6;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    color: #0078d7;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    user-select: none;
    padding: 0;
}
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

label {
    display: block;
    margin-bottom: 5px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-button {
    width: 100%;
    padding: 10px;
    background: #FF9900;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #FF9900;
    text-decoration: none;
}

.forgot-link:hover {
    color: #E68A00;
}


/* Improved Bottom Navigation Styles (from shipper-dashboard) */
.bottom-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 8px 0;
    z-index: 100;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    border-top: 1px solid #eee;
    gap: 2vw;
}
.nav-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 1.15rem;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}
.nav-link.active, .nav-link:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 2px 8px rgba(231,76,60,0.08);
}

.add-button {
    background-color: #e74c3c !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    margin: 10px 0 20px 0;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.add-button:hover {
    background-color: #c0392b !important;
}
.work-experience-entry, .education-entry {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.remove-work-btn, .remove-education-btn {
    background: none !important;
    color: #e74c3c !important;
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    margin-top: 8px;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.18s;
}
.remove-work-btn:hover, .remove-education-btn:hover {
    color: #c0392b !important;
    background: none !important;
}

/* Styles from hauler/dashboard-styles.css */
.dashboard-container {
    max-width: 1200px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 32px;
    min-height: 500px;
}
.dashboard-main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.dashboard-left {
    flex: 2;
    min-width: 350px;
}
.dashboard-right {
    flex: 1.2;
    min-width: 300px;
    margin-left: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}
.welcome-message {
    font-size: 1.6rem;
    font-weight: bold;
    color: #FF9900;
    margin-bottom: 18px;
    text-align: left;
}
.welcome-name {
    color: #FF9900;
}
.dashboard-info {
    text-align: left;
    margin-bottom: 24px;
}
.applications-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}
.app-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    text-align: left;
}
.app-actions {
    margin-top: 8px;
    display: flex; /* To align buttons nicely */
    gap: 10px;     /* Add some space between buttons */
}

.app-link.button-like { /* General style for link-as-button */
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid transparent; /* For consistent sizing if one has border and other doesn't */
    display: inline-block;
    text-align: center;
}

.edit-link.button-like {
    background-color: #e74c3c !important;
    color: white;
    border-color: #e74c3c !important;
}
.edit-link.button-like:hover {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
}

.delete-link.button-like {
    background-color: #ff4d4f; /* A common color for delete actions */
    color: white;
    border: none; /* If you prefer no border for delete */
}
.delete-link.button-like:hover {
    background-color: #d9363e;
}

.app-link {
    margin-right: 12px;
    color: #FF9900;
    text-decoration: underline;
    font-weight: bold;
}

.new-app-btn {
    margin-top: 18px;
    width: 100%;
    background: #e74c3c !important;
    color: #fff;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}
.new-app-btn:hover {
    background: #c0392b !important;
}
.logout-btn {
    background: #ff4d4f;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 30px;
}
.logout-btn:hover {
    background: #d9363e;
}

@media (max-width: 900px) {
    .dashboard-main { flex-direction: column; }
    .dashboard-right { margin-left: 0; margin-top: 30px; }
    .dashboard-container { padding: 12px; }
}

/* Styles from job-application.css */
.job-application-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.form-section h2 {
    color: #e74c3c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.work-experience, .education-entry {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.work-experience h4, .education-entry h4 {
    color: #e74c3c;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range span {
    color: #666;
}

.add-button {
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
    width: auto;
}

.add-button:hover {
    background-color: #2980b9;
}

.certification-text {
    padding: 15px;
    background: #f8f9fa;
    border-left: 3px solid #e74c3c;
    margin-bottom: 20px;
}

.certification-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.note {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.submit-button {
    background-color: #2ecc71;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #27ae60;
}

/* Checkbox styling */
input[type="checkbox"] {
    margin-right: 10px;
}

input[type="checkbox"] + label {
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .job-application-form {
        margin: 20px;
        padding: 15px;
    }

    .form-section {
        padding: 15px;
    }

    .date-range {
        flex-direction: column;
        align-items: stretch;
    }
}

.agreement-section {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.agreement-section input[type="checkbox"] {
    margin-top: 4px;
}

.agreement-section label {
    flex: 1;
}

.application-preview {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.preview-content {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.preview-item {
    margin: 10px 0;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.preview-item strong {
    display: inline-block;
    width: 200px;
    color: #666;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.submit-button {
    background-color: #e74c3c !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    font-size: 1em;
    transition: background 0.18s, color 0.18s;
}
.submit-button:hover {
    background-color: #c0392b !important;
}

.remove-section:hover {
    background-color: #7f8c8d;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    line-height: 1;
    cursor: pointer;
}

.hidden {
    display: none;
}

.success-message {
    text-align: center;
    padding: 30px;
    background: #f0fff4;
    border: 1px solid #68d391;
    border-radius: 8px;
    margin: 20px 0;
}

.success-message h2 {
    color: #2f855a;
    margin-bottom: 15px;
}

.success-message p {
    color: #276749;
    margin: 0;
}

/* Styles from splash.css (Truck Animation) */
/* Note: .splash-screen was renamed to .splash-screen-truck to avoid conflicts */
.splash-screen-truck {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.truck {
    position: relative;
    width: 200px;
    height: 100px;
}

.truck-body {
    position: absolute;
    width: 120px;
    height: 60px;
    background: #e74c3c;
    right: 0;
    bottom: 20px;
    border-radius: 10px;
}

.truck-cabin {
    position: absolute;
    width: 60px;
    height: 50px;
    background: #e74c3c;
    left: 20px;
    bottom: 20px;
    border-radius: 10px;
}

.truck-wheel {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    bottom: 0;
    animation: rotate 1s linear infinite;
}

.wheel-front {
    left: 30px;
}

.wheel-back {
    right: 30px;
}

/* Note: This keyframe is for the truck animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Styles from shipper-dashboard.css */
.dashboard-container .form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
}

.dashboard-container .form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #e74c3c;
}

.dashboard-container .form-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.dashboard-container .form-section:last-of-type {
    border-bottom: none;
}

.dashboard-container .logout-btn {
    display: block;
    margin: 30px auto 0 auto;
    background-color: #6c757d;
}

.dashboard-container .logout-btn:hover {
    background-color: #5a6268;
}

/* Shipper Dashboard Layout */
.dashboard-main {
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: flex-start; /* Align items to the top */
    gap: 30px; /* Space between the form and map */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.dashboard-content {
    display: flex;
    flex-direction: row; /* Default to row for desktop */
    gap: 30px; /* Space between form and map */
    width: 100%; /* Take full width of dashboard-main */
    max-width: 1200px; /* Limit overall width */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.dashboard-main .form-container { /* Specificity for form within dashboard-main */
    flex: 1; /* Allow it to grow, but map will grow more */
    min-width: 300px; /* Minimum width for the form */
    max-width: 450px; /* Max width for the form */
}

/* Responsive adjustments for shipper dashboard */
@media (max-width: 900px) {
    .dashboard-content {
        flex-direction: column; /* Stack vertically on smaller screens */
        align-items: center; /* Center items when stacked */
    }
    .dashboard-main .form-container, #mapContainer {
        width: 100%; /* Take full width when stacked */
        max-width: 600px; /* Limit max width for readability */
    }
}