html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;
    padding-top: 70px; /* Space for fixed navbar */
    /* box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.342); Subtle shadow for depth */
}

/* Navbar Styling */
.navbar-brand {
    display: flex;
    align-items: center;
}

.nav-link:hover i {
    animation: fa-flip 1s infinite; /* Beat animation on hover */
}

/* Hero Section Styling */
.hero-home {
    width: 100vw; /* Set width to 100% of the viewport */
    position: relative; /* Required for overlay positioning */
    left: 50%; /* Center the section */
    right: 50%;
    margin-left: -50vw; /* Offset to left */
    margin-right: -50vw; /* Offset to right */
}

/* Overlay */
.hero-home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Fade-in Effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Styling */
footer {
    background-color: rgb(161, 161, 161);
    display: table-row;
    height: 0;
    font-size: 70%;
}

/* Collapsible Content Styles */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}
/* getting rid of active, it messes the window background in airshipment view */
/* .active, .collapsible:hover {
    background-color: #ccc;
} */
.collapsible:hover {
    background-color: #ccc;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

/* Headings */
h1 {
    color: rgb(0, 0, 0);
}

.tytuł {
    text-decoration: none !important;
}

/* Airline Logo */
.airline_logo {
    width: 50px;
    height: auto;
}

/* Suggestion Lists */
#suggestions-list-destination,
#suggestions-list-origin {
    position: absolute;
    border: 1px solid #ccc;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

/* Suggestion Items */
.suggestion-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item.highlighted {
    background-color: #e0e0e0;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.suggestion-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.suggestion-item:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Rate Box */
.rate-box {
    background-color: #008080;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    text-align: center;
}

/* Authentication Links */
.auth-links {
    margin-left: auto; /* Pushes auth links to the far right */
}

/* Form Styles */
form {
    max-width: 1000px; /* Increased max-width for multi-field row */
    margin: 20px auto; /* Centers form on the page */
    padding: 20px;
    background-color: #f9f9f9; /* Light background color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

/* Flexbox for horizontal layout */
form .form-row {
    display: flex;
    justify-content: space-between; /* Distribute space evenly */
    gap: 20px; /* Space between form elements */
    margin-bottom: 15px; /* Space between rows */
}

form label {
    font-weight: bold;
    color: #333; /* Darker label color */
    margin-bottom: 5px;
    display: block;
}

form .form-group {
    margin: 5px 5px 30px 5px;
}

form input[type="text"],
form input[type="textarea"],
form input[type="file"],
form input[type="date"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #008080; /* Teal border */
    border-radius: 8px; /* Rounded input fields */
    background-color: #f0f8f8; /* Very light teal background */
    color: #333; /* Text color */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
form input[type="number"]
{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #008080; /* Teal border */
    border-radius: 8px; /* Rounded input fields */
    background-color: #f0f8f8; /* Very light teal background */
    color: #333; /* Text color */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


form input[type="text"]:focus,
form input[type="textarea"]:focus,
form input[type="file"]:focus,
form input[type="date"]:focus,
form input[type="number"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="date"]:focus,
form textarea:focus,
form select:focus {
    border-color: #005959; /* Darker teal when focused */
    box-shadow: 0 0 15px rgba(0, 66, 66, 0.5); /* Glowing border effect */
    outline: none; /* Remove default outline */
}

form .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #008080; /* Teal button */
    border: none;
    border-radius: 8px; /* Rounded button */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

form .btn:hover {
    background-color: #005959; /* Darker teal on hover */
}

/* Responsiveness */
@media (max-width: 768px) {
    form .form-row {
        flex-direction: column; /* Stack fields vertically on small screens */
    }
    
    form {
        padding: 15px;
    }
    html, body {
        height: 100%;
        width: 100%;
        margin: 0;
        display: table;
        padding-top: 30px;
    
    }



    /* form input[type="text"], */
    /* form input[type="file"], */
    /* form input[type="date"], */
    form input[type="number"],
    form select {
        font-size: 14px;
        padding: 8px;
        width: 100px;
    }

    form .btn {
        /* display:table-column; */
        width: 100%;
        padding: 10px;
        margin: 5px 0;
    }
}

/* Message Input */
#id_message {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #008080; /* Teal border */
    border-radius: 8px; /* Rounded input fields */
    background-color: #f0f8f8; /* Very light teal background */
    color: #333; /* Text color */
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#id_message:focus {
    border-color: #005959; /* Darker teal when focused */
    box-shadow: 0 0 15px rgba(0, 66, 66, 0.5); /* Glowing border effect */
    outline: none; /* Remove default outline */
}




.list-group-item {
    background-color: #f9f9f9; 
    border: 1px solid #ddd;
    border-radius: 8px; 
    transition: background-color 0.3s, transform 0.3s; 
}

.list-group-item:hover {
    background-color: #e0f7f7; 
    transform: scale(1.02); 
}

/* Call to Action */
.cta-section h2 {
    font-size: 2.5em; /* Larger font for emphasis */
    margin-bottom: 15px; /* Spacing below the heading */
}

.cta-section p {
    font-size: 1.2em; /* Slightly larger paragraph text */
    margin-bottom: 25px; /* More spacing below the paragraph */
}

.cta-section .btn {
    border-radius: 20px; /* Rounded button corners */
    padding: 10px 30px; /* More padding for the button */
    font-size: 1.1em; /* Slightly larger button text */
}

/* Responsive Adjustments for CTA Section */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 2em; /* Responsive heading size */
    }

    .cta-section p {
        font-size: 1em; /* Responsive paragraph size */
    }
}

.container-fluid.formsets {
    margin-top: 10px;
}

.formset-entry {
    margin-bottom: 15px;
}

.formset-entry .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.formset-entry .col {
    flex: 1;
    padding: 10px;
}



/* #shipmentMenu { display: none; position: absolute; }
#shipmentMenu.show { display: block; } */


