


.progress-selected-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

/* Unified Form and Progress Container */
.form-progress-container {
    background-color: #192E40;
    border-top-right-radius: 0rem; /* 10px equivalent */
    border-top-left-radius: 0rem; /* 10px equivalent */
    padding: 2.5rem; /* 40px equivalent */
padding-bottom:0rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1); /* 0 4px 10px */
    letter-spacing: 0.0625rem; /* 1px equivalent */
    margin-bottom: 0;
}

/* Form Container */
#formContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.9375rem; /* 15px equivalent */
    text-align: center;
    margin-bottom: 1.25rem; /* 20px equivalent */
}

/* Form Group */
.form-group {
    flex: 1 1 calc(30% - 0.9375rem); /* Each input takes 30% of the row with a gap */
    min-width: 15.625rem; /* 250px equivalent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.9375rem; /* 15px equivalent */
}

label {
    display: block;
    margin-bottom: 0.3125rem; /* 5px equivalent */
    font-size: 1.2rem !important;
    color: #ffffff;
    text-align: center;
}

/* Form Styling */
form#downloadForm {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9375rem; /* 15px equivalent */
    width: 100%;
    justify-content: center;
    align-items: center;
}

form input[type="text"], form input[type="email"] {
    padding: 0.75rem; /* 12px equivalent */
    font-size: 1.2rem; /* 16px equivalent */
    border-radius: 0.5rem; /* 8px equivalent */
    border: 0.125rem solid #FF9179; /* 2px equivalent */
    background-color: #192E40;
    color: #ff9179;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
}

/* Submit Button Styling */
form input[type="submit"] {
    background-color: #1e3a5f;
    color: white !important;
    padding: 0.75rem 1.125rem; /* 12px 18px equivalent */
    font-size: 1rem;
    border-radius: 0.5rem; /* 8px equivalent */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 0.0625rem solid #ffffff; /* 1px equivalent */
    text-transform: uppercase;
    white-space: nowrap;
    width: 50%; /* Button will be half the width */
    margin-top: 1.5rem; /* Margin to separate it from inputs */
text-align:center;
}

/* Hover and focus states for inputs and button */
form input[type="text"]:hover, form input[type="email"]:hover, form input[type="submit"]:hover,
form input[type="text"]:focus, form input[type="email"]:focus, form input[type="submit"]:focus {
    background-color: #FF9179;
    color: #192E40;
    border-color: #ffffff;
}

form input[type="submit"]:active {
    background-color: #c98021;
    color: white !important;
    border: 0.125rem solid #ffffff; /* 2px equivalent */
}


/* If targeting text input placeholder text specifically */
::placeholder {
    color: white !important; /* Change placeholder text color */
    opacity: 0.8; /* Ensure full visibility of the placeholder text */
}




/* Unified Progress Bar, Selected Files, and Search Filter */
.progress-selected-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30em;
    flex-wrap: nowrap;
    width:100%;
    margin: 0; /* 20px equivalent */
border:0px solid yellow;
}

/* Progress Bar Container */
.progress-bar-wrapper {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
}

/* Progress Bar itself */
.progress-container-new {
    height: 2.5rem; /* 40px equivalent */
    background-color: #192E40;
    border: 0.125rem solid #ffffff; /* 2px equivalent */
    border-radius: 0.5rem; /* 8px equivalent */
    width: 100%; /* Full width on small screens */
    position: relative;
}

.progress-bar-new {
    height: 100%;
    background-color: yellow;
    width: 0%;
    transition: width 0.4s ease-in-out;
    border-radius: 0.5rem; /* 8px equivalent */
height: 2.3rem !important;
margin-left:0.05rem !important;
margin-right:0.05rem !important;

}

.progress-bar-max {
    background-color: #FF9179 !important;
}

/* Style for the text when max files are selected */
.progress-bar-text-max {
    font-size: 1rem; /* 14px equivalent */
    color: #192E40;
    font-weight: normal;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* Progress Counter Text */
.counter-new {
    color: #ffffff;
    margin-bottom: 0.3125rem; /* 5px equivalent */
    text-align: left;
    padding-left: 0%;
    font-size: 1rem;
}

/* Search Filter */
.search-filter-wrapper {
    flex: 1 1 20%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

input#searchFilter {
    padding: 0.625rem; /* 10px equivalent */
    font-size: 1rem; /* 16px equivalent */
    border-radius: 0.5rem; /* 8px equivalent */
    border: 0.125rem solid #FF9179; /* 2px equivalent */
    background-color: #192E40;
    color: #ff9179;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    height: 2.5rem; /* 40px equivalent */
}

/* Search Filter Hover and Focus */
input#searchFilter:hover, input#searchFilter:focus {
    background-color: #FF9179;
    color: #192E40;
    border-color: #ffffff;
}

/* Selected Files Bar */
#selectedFilesBar {
    display: flex;
    gap: 1rem; /* 10px equivalent */
    padding: 0;
    border-radius: 0.3125rem; /* 5px equivalent */
    background-color: #192E40 !important;
    color: #ffffff;
    min-height: 1.25rem; /* 20px equivalent */
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    font-size: 1rem;


}

/* File Chip for selected files */
.file-chip {
    background-color: #1e3a5f !important;
    padding: 0.625rem 0.9375rem; /* 10px 15px equivalent */
    border-radius: 1.5625rem; /* 25px equivalent */
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px equivalent */
    color: #ffffff !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 0.125rem solid #FF9179; /* 2px equivalent */
margin-top:1rem;
font-size:1.2rem !important;
 
}

/* Larger and Red "X" for removing files */
.remove-file {
    font-size: 1.2rem !important; /* 18px equivalent */
    color: yellow !important;
    cursor: pointer;
 
}

/* Make the entire chip clickable */
.file-chip:hover {
    background-color: #FF9179 !important;
}

/* Download Button Styling for Coding Book */
.download-button {
    background-color: #FF9179 !important;
    color: #192E40 !important;
    padding: 0.625rem 1.25rem; /* 10px 20px equivalent */
    border-radius: 0.3125rem; /* 5px equivalent */
    text-decoration: none;
    font-weight: bold;
    display: block;
    margin: 0 auto;
    width: 16rem; /* 400px equivalent */
    text-align: center;
}

.download-button:hover {
    background-color: #FF9179 !important;
    color: #192E40 !important;
}

/* Country Card Styling */
.containerdatalist {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    background-color: #192E40 !important;
    width: 100%;
    margin: auto;
    border-bottom-left-radius: 0.625rem; /* 10px equivalent */
    border-bottom-right-radius: 0.625rem; /* 10px equivalent */

margin:0px !important;
padding:0px !important;
}

.country {
    background-color: #192E40 !important;
    color: #ffffff !important;
    border-radius: 0;
    padding: 2.5rem; /* 40px equivalent */
    text-align: center;
padding-top:1.5rem !important;
}

.country h3 {
    margin: 0;
    color: #ffffff;
    text-align: center;
letter-spacing:0.1rem;
padding-top:0px !important;

}

/* Country Links */
.country a {
    display: block;
    background-color: #FF9179 !important;
    color: #192E40 !important;
    padding: 0.625rem; /* 10px equivalent */
    border-radius: 0.3125rem; /* 5px equivalent */
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.625rem; /* 10px equivalent */
    transition: background-color 0.3s ease;
}

.country a:hover {
    background-color: #FF9179 !important;
    color: #192E40 !important;
}

/* Button Styling */
.btn {
    background-color: #FF9179 !important;
    color: #192E40 !important;
    border: none;
    padding: 0.625rem 1.25rem; /* 10px 20px equivalent */
    border-radius: 0.3125rem; /* 5px equivalent */
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.btn:hover {
    background-color: #FF9179 !important;
}

/* Step Styling */
.fda-section-title {
    font-size: 1.375rem; /* 22px equivalent */
    font-weight: bold;
    color: yellow;
    margin-bottom: 0.625rem; /* 10px equivalent */
    text-align: left;
}

.fda-step {
    font-size: 1rem; /* 16px equivalent */
     color: #ffffff;
    margin-bottom: 0.3125rem; /* 5px equivalent */
    line-height: 1.6;
    text-align: left;
}

/* Step Number Styling */
.step {
    font-weight: bold;
    color: #1e3a5f;
    margin-right: 0.3125rem; /* 5px equivalent */
   color: yellow !important;
}

/* Coding Book Section Title */
.cb-section-title {
    font-size: 1.5rem; /* 24px equivalent */
    font-weight: bold;
    color: yellow;
    text-align: center;
    margin-bottom: 2%;
    padding-top: 4%;
    padding-bottom: 2%;
    background-color: #192E40;
letter-spacing:0.3rem;
}






/* Country Report Section Title */
.cr-section-title {
    font-size: 1.5rem; /* 24px equivalent */
    font-weight: bold;
    color:yellow;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 0;
margin-bottom:0rem;
    background-color: #192E40;
letter-spacing:0.3rem;
}

.light-coloured-link:link {
    color: #FF9179;
}

.light-coloured-link:visited {
    color: #FF9179;
}


/* Media Queries for Responsiveness */

/* Large screens (desktops) */
@media (min-width: 1220px) {
    .containerdatalist {
        grid-template-columns: repeat(3, 1fr);
    }

    .country {
        padding: 3.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
    }
}

/* Medium screens (laptops) */
@media (max-width: 1024px) {
    .containerdatalist {
        grid-template-columns: repeat(2, 1fr);
    }

    .country {
        padding: 3rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }
}

/* Small screens (tablets) */
@media (max-width: 768px) {
    .containerdatalist {
        grid-template-columns: repeat(2, 1fr);
    }

    .country {
        padding: 2.5rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    /* Stack inputs vertically on small screens */
    .form-group {
        flex: 1 1 100%;
    }

    form input[type="submit"] {
        width: 60%; /* Make the button smaller on mobile */
        margin-top: 1rem;
    }
}

/* Extra small screens (smartphones) */
@media (max-width: 480px) {
    .containerdatalist {
        grid-template-columns: 1fr;
    }

    .country {
        padding: 2rem;
    }

    .progress-container-new,
    input#searchFilter {
        width: 100%;
        margin-bottom: 1rem; /* Adds spacing between the filter and progress bar */
    }
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .progress-selected-container {
        flex-direction: column;
    }

    .progress-bar-wrapper,
    .search-filter-wrapper {
        width: 100%;
        margin-bottom: 10px;
    }

    .progress-container-new {
        width: 100%;
    }

    .search-filter-wrapper input {
        width: 100%;
    }
.progress-selected-container {
gap:0 !important;
}
.fda-step{padding-bottom:1rem !important; font-size:90%;}
.counter-new {text-align:center !important;}
.file-chip {font-size:80% !important;}
.remove-file{font-size:80% !important;}
.cb-section-title{margin-top:1rem !important; margin-bottom:1rem !important;}
.cr-section-title{margin-top:1rem !important;}
.download-button {width:90% !important;}
.mobile-middle-align{width:50px !important; border:0.12rem solid yellow !important;}


}
