/* ================================
    GLOBAL STYLES
================================ */
body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: Arial, sans-serif;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

h2 {
    margin-top: 0;
    color: #cc0000;
    font-weight: bold;
}

/* ================================
    PAGE CONTENT WRAPPER
================================ */
.page-content {
    padding: 15px;
    padding-bottom: 90px; /* Space for bottom nav */
}

/* ================================
    HEADER
================================ */
.top-header {
    background: #cc0000;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .logo {
    font-size: 20px;
    font-weight: bold;
}

.top-links a {
    color: white;
    margin-left: 12px;
    font-size: 14px;
    text-decoration: none;
}

/* ================================
    BOTTOM NAVIGATION
================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #cc0000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 4px solid #008f39; /* green accent */
    z-index: 999;
}

.nav-btn {
    color: white;
    font-size: 24px;
    padding: 5px;
}

.home-btn {
    background: white;
    color: #cc0000;
    border-radius: 50%;
    padding: 12px 20px;
    font-size: 28px;
    margin-top: -28px;
    border: 3px solid #008f39;
}

/* ================================
    FORM STYLES
================================ */
.mobile-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-form input,
.mobile-form select {
    padding: 12px;
    border: 2px solid #cc0000;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

/* Buttons */
.btn {
    background: #cc0000;
    color: white;
    padding: 14px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    background: #b80000;
}

/* ================================
    ADDRESS BLOCKS
================================ */
.address-block {
    background: #fff;
    border: 2px solid #cc0000;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

.priority-label {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
    font-size: 15px;
}

/* ================================
    AUTOCOMPLETE SUGGESTIONS
================================ */
.address-input {
    position: relative;
    width: 100%;
}

.suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 160px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
}

.suggestions li {
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestions li:hover {
    background: #f2f2f2;
}

/* ================================
    ROUTE LIST
================================ */
.route-list {
    padding-left: 22px;
    font-size: 18px;
    line-height: 1.45;
}

.route-list li strong {
    color: #cc0000;
}

/* ================================
    MODULE CONTAINER
================================ */
.module-container {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
}

/* ================================
    ERROR / ALERT TEXT
================================ */
.error {
    background: #ffdddd;
    border-left: 5px solid #cc0000;
    padding: 10px;
    margin-bottom: 10px;
    color: #b30000;
    border-radius: 6px;
}
