/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background: #f0f0f0;
}

.result-box {
    border: none;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
    background: linear-gradient(160deg, #e8e8e8, #f5f5f5);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.result-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.15);
}

.route-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    filter: grayscale(50%) contrast(90%);
    transition: all 0.3s;
}

/* Specific Boxes */
.routes-box, .delivery-time-box, .costs-box, 
.route-details, .delivery-details, .extra-charge, .cost-details,
.route-type, .partner-details-box, .extra-charges-box {
    padding: 15px;
    margin: 20px 0;
    border: none;
    border-radius: 10px;
    background: linear-gradient(165deg, #ffffff, #f5f5f5);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.routes-box:hover, .delivery-time-box:hover, .costs-box:hover, 
.route-details:hover, .delivery-details:hover, .extra-charge:hover, .cost-details:hover,
.route-type:hover, .partner-details-box:hover, .extra-charges-box:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

.price-with-vat {
    margin: 10px 0;
    font-weight: bold;
    color: #e74c3c;  /* Removed background to keep design clean */
}

.fas {
    font-size: 1.2em;
    color: #555; 
    margin-right: 10px;
    transition: all 0.3s;
}

.fas:hover {
    color: #e74c3c;
}

.extra-charges-box {
    display: flex;
    justify-content: space-between;
}

.extra-charge-pickup, 
.extra-charge-delivery {
    flex: 1;
    text-align: center;
}

/* Dropdown and Input Styles */

select, input {
    width: 100%; /* Make it full width by default; adjust as needed */
    padding: 10px 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(165deg, #ffffff, #f5f5f5);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    font-family: 'Arial', sans-serif; /* This will ensure that the dropdown font matches your site's font */
    font-size: 1em;
    outline: none; /* Removes the blue outline in some browsers on focus */
    appearance: none; /* Removes default styling in some modern browsers */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    color: #555;
}

select:hover, input:hover {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

select:focus, input:focus {
    box-shadow: 0px 0px 10px rgba(231, 76, 60, 0.6); /* A gentle glow when the element is focused, using the red highlight color */
}

/* If you use arrows in your dropdown (like the default down arrow), this will style it */
select::-ms-expand {
    display: none; /* For IE and Edge, hide the default dropdown arrow */
}

/* Custom dropdown arrow (if you wish to use one) */
select {
    position: relative;
    background: linear-gradient(165deg, #ffffff, #f5f5f5) no-repeat 95% 50%; /* Adjust the percentage values to position the icon accordingly */
}

/* If you want a custom down arrow for the dropdown, you can use a background image or Unicode. Here, I use Unicode */
select:after {
    content: "\25BC"; /* This is the Unicode for a down arrow */
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #555;
    pointer-events: none; /* So it doesn't interfere with select functionality */
}

.modern-blue-btn {
    background-color: #007BFF;
    border: none;
    color: white; 
    transition: all 0.3s; 
    position: relative;
    overflow: hidden;
}

.modern-blue-btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.7s;
    z-index: -1;
}

.custom-blue-btn {
    background-color: #007BFF; /* standard blue */
    border: none;
    color: #FFFFFF; /* white text */
    transition: all 0.3s;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.custom-blue-btn:hover {
    background-color: #0056b3; /* darker blue on hover */
    color: #FFFFFF; /* white text on hover */
    text-decoration: none;
}

.custom-blue-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.5);
}

.custom-blue-btn:active {
    background-color: #003366; /* even darker on click */
}
