body {
    margin: 60px;/* Uniform margin on all sides */
    margin-bottom : 5px;
    background-color: rgb(32, 40, 90);
    /*background-color: black;*/
    color: white;
    font-family: Arial, sans-serif;
    font-size: 40px;
    box-sizing: border-box; /* Ensures padding and border are included in the total width and height */
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* header styling */
header {
    position: relative; /* Create a positioning context for the flags */
}

.header-container {
    display: flex;
    justify-content: center; /* Center the logo horizontally */
    align-items: center; /* Center items vertically */
}

.logo {
    max-width: 100%; /* Ensure logo is responsive */
}

.flags {
    position: absolute; /* Position the flags absolutely within the header */
    top: 0; /* Align to the top */
    right: 0; /* Align to the right */
    display: flex;
    gap: 10px; /* Space between the flags */
}

.flags img {
    vertical-align: top; /* Ensure images align nicely to the top */
}


/*main content Styling*/
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;  /* This makes the main content area flexible */
}



/* airfield selector styling*/
.airfield-selector {
    width: 100%; /* Full width */
    /*font-size: 40px;*/
    padding: 0 30px; /* Add padding to align with body margins */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    background-color: rgb(211, 211, 211);;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.airfield-selector p {
    padding: 10px;
    /*font-size: 40px;*/
    text-align: center;
    margin: 10px 0;
    color: rgb(32, 40, 90);
}
 .separator {
        margin: 5px auto; /* Reduce margin for better spacing on mobile */
        border-bottom: 3px solid rgb(50, 159, 218);
 }

.airfield-selector select,
.airfield-selector input {
    width: 100%; /* Full width */
    border-radius: 10px;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

input::placeholder {
  font-size: 30px; /* Adjust the font size as needed */
}

.airfield-selector select {
    color: rgb(32, 40, 90);
}

.airfield-selector input {
    /* background-color: rgb(211, 211, 211);*/
    margin-bottom: 20px;
    height: 80px;
    color: rgb(32, 40, 90);
}

.form-row {
    display: flex;
    align-items: center; /* Vertically center the items */
    gap: 5px; /* Space between the label and select elements */
}
.form-row label {
    width: 38%;
    color:  rgb(32, 40, 90); /* Space between the label and select elements */
}

.button-container {
    display: flex;
    gap: 20px; /* Space between the buttons */
}

.rounded-rectangle {
    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    width: 100%;
    background-color: rgb(50, 159, 218); /* Blue background color */
    border-radius: 20px; /* Rounded corners */
    color: white; /* Text color */
    font-size: 40px; /* Font size of the buttons */
    /*font-weight: bold;*/
    /*padding: 10px;*/
    /*margin-bottom: 20px;*/
    position: relative; /* Needed for absolute positioning of the arrow */
}

.rounded-rectangle .arrow {
    position: absolute; /* Position arrow absolutely within the button */
    right: 10px; /* Adjust right positioning as needed */
    bottom: 0px;
    font-size: 60px; /* Bigger font size for the arrow */
    color: rgb(173, 255, 47);

}

.plyr__controls {
    border-radius: 20px !important; /* Override border-radius */
    width: 100% !important;
    height : 100%! important;
    justify-content: center !important;
    margin: 0px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    --plyr-color-main: rgb(32, 40, 90); /* Main color */
    --plyr-audio-controls-background: rgb(50,159,218); /* Background color for audio controls */
    --plyr-audio-control-color: white; /* Color of audio controls */
    --plyr-control-icon-size: 80px; /* Size of control icons */
    --plyr-control-spacing: 20px; /* Spacing between control icons */
    --plyr-control-radius: 10px; /* Radius of control buttons */
    --plyr-font-size-time: 80px;
}


/* CSS for advanced options */
.advanced-options {
    width: 100%; /* Full width */
    /*font-size: 40px;*/
    padding: 0 30px; /* Add padding to align with body margins */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    background-color: rgb(211, 211, 211);
    color: black;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.advanced-options td {
    padding: 5px;
}

.advanced-options  p {
    padding: 10px;
    /*font-size: 40px;*/
    text-align: center;
    margin: 10px 0;
}

/* CSS for toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 60px;
    margin-left: 10px;
    margin-right: 30px;
}

.toggle-switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(211, 211, 211);
    border-radius: 20px;
    transition: .9s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 50px;
    width: 50px;
    left: 4px;
    right: 4px
    top: 5px;
    bottom: 5px;
    background-color: white;
    border-radius: 100%;
    transition: .4s;
}

input:checked + .slider {
    background-color: rgb(50,159,218);
}

input:checked + .slider:before {
    transform: translateX(40px);

}

.request-briefing {

    display: flex; /* Use flexbox to align items */
    justify-content: center; /* Center text horizontally */
    /*align-items: center; /* Center text vertically */
    width: 100%;
    background-color: rgb(50, 159, 218); /* Blue background color */
    border-radius: 20px; /* Rounded corners */
    font-size: 50px; /* Font size of the buttons */
    font-weight: bold;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;

    border: 3px solid #0056b3; /* Thick border */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding for the button */
    /* box-shadow: 0 1px #999; /* 3D shadow effect */
    /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Slight text shadow */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease; /* Smooth transition */
    /*animation: blink 1s infinite;*/
    /*animation: none;*/
}

@keyframes blink {
  0% { display: rgb(200, 159, 218); }
  50% {  background-color: rgb(50, 159, 218);}
  100% { background-color: rgb(200, 159, 218); }
}


/* Current track styling*/

.current-track {
    width: 100%; /* Full width */
    font-size: 40px;
    padding: 0 30px; /* Add padding to align with body margins */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    background-color: rgb(211, 211, 211);
    color: black;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}



/* Footer styling */
footer {
    position: relative;
    /*background-color: black;*/
    color: white;
    padding: 5px;
    text-align: center;
    width: 100%;
    /*box-sizing: border-box;*/
    bottom: 0px;
    font-size: 20px;
    align-items: center;
}

footer img {
    max-width: 100%;
    /*height: auto;*/
}

/* Add a separator line if needed */


#disclaimerBanner {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #f8f9fa;
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #dee2e6;
        z-index: 9999;
        font-size: 16px;
        color: black;
    }
#acceptButton {
        padding: 10px 20px;
        font-size: 40px;
        background-color: green;
        color:white;

    }
#declineButton {
        padding: 10px 20px;
        font-size: 40px;
        color: black;
    }


 /* Fvavorite Checkbox */
.favourite-checkbox input[type="checkbox"] {
    display: none;
}

/* Style the custom checkbox */
.favourite-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.favourite-icon {
    width: 60px;
    height: 60px;
    background-image: url('favourite-unchecked.png'); /* Replace with your image */
    background-size: cover;
    background-repeat: no-repeat;
    /*margin-left: 0px;*/
    display: inline-block;
    position: relative;
}

/* Style the checked state */
.favourite-checkbox input[type="checkbox"]:checked + .favourite-icon {
    background-image: url('favourite.png'); /* Replace with your checked state image */

}

.error {
    font-weight: bold;
    border: 5px solid red;
}

#disclaimerBanner {
    margin: 20px; /* Adds margin around the banner */
    padding: 20px; /* Adds padding inside the banner */
    background-color: #fff; /* Sets the background color */
    border: 1px solid #ccc; /* Adds a border around the banner */
    max-width: 80%; /* Limits the maximum width of the banner */
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
    overflow: hidden; /* Ensures the container handles overflow content gracefully */
    text-align: center;
}

.banner-content {
    display: block; /* Ensures content blocks are displayed */
    word-wrap: break-word; /* Allows long words to break and wrap */
}
