html{
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    place-content: center;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #000;
}

a {
    text-decoration: none; 
    color: inherit; 
}

.w-100{
    width: 100%;
}

.label-file{
    margin-bottom: -20px;
}

label{
    cursor: pointer;
}

.header {
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 10; 
    background-color: #3A6EA5;
    height: 5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}
.headernav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header img {
    width: 3.5rem;
    height: auto;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1rem; 
}

.header-icons img {
    width: 3.5rem;
    height: auto;
}

.text-capitalize{
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .header {
        height: 5rem; 
    }
    
    .header img, .header-icons img {
        width: 3rem; 
    }
}


.container {
    margin-top: 2,5rem;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.container h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.container p {
    font-size: 2rem;
    color: #666;
    margin-bottom: 2rem;
}


.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.action-buttons .card {
    background: #fff;
    padding: 4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    width: 100%; 
    max-width: 25rem;
    height: auto; 
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-buttons .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    max-width: 10rem; 
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 2rem; 
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.4rem; 
    color: #666;
}

.main-image {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.main-image img {
    width: 50rem;
}

footer {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 20px 0;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.footer-column {
    flex: 1;
    padding: 0 1rem;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #333;
}

.footer-bottom {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        padding: 1rem 0;
    }

    .footer-column ul li {
        font-size: 1.4rem;
    }

    footer {
        padding: 2rem 1rem;
    }
}

.sidebar {
    position: fixed;
    height: 100%;
    width: 5rem;
    background-color: #3A6EA5;

    color: white;
    padding-top: 3rem;
    margin-top:1rem ;
    z-index: 0;
    overflow: hidden;
}

.sidebar ul li {
    padding: 15px 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-direction: column;
    align-content: center;
    text-align: center;
}

.sidebar ul li:hover {
    background-color: #28496d;
}

.sidebar ul li img {
    width: 3rem;
}

.main-content {
    display: flex;
    align-self: center;
    flex-direction: column;
    margin-top: 2.5rem;
    margin: 2rem auto;
    padding: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: center;
    width: 70%;
}

.main-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5px;
}

.main-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5px;
}

.search-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.search-bar input {
    width: 90%;
    padding: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 2rem;
}

.search-bar button {
    width: 10%;
    padding: 1rem;
    background-color: #ccc;
    border: none;
    border-left: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}
.search-bar img {
    width: 3rem;
}
.users-list {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    width: 100%;
    cursor: pointer;
}

.user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    transition: background-color 0.3s;
}

.user:last-child {
    border-bottom: none;
}

.user:hover {
    background-color: #f5f5f5;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info h3 {
    font-size: 3rem;
    font-weight: bold;
}

.user-info p {
    font-size: 2rem;
    color: #666;
}

.user-ra {
    font-size: 3rem;
    font-weight: normal;
    color: #333;
    display: flex;
    align-items: center;
}

@media (max-width: 850px) {
    .user{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}


.user-ra img {
    width: 4.5rem;
    margin-left: 10px;
}

.add-user, .remove-user {
    display: flex;
    /* justify-content: center; */
    margin: 20px 0;
}

.remove-user{
    margin-left: 10px;
}

.add-user button {
    background-color: #3A6EA5;
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 2rem;
    transition: background-color 0.3s;
}

.remove-user button {
    background-color: #dc3545;
    color: white;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 2rem;
    transition: background-color 0.3s;
}

.add-user button:hover {
    background-color: #2f5885;
}
.remove-user button:hover {
    background-color: #b02a37;
}


#drop_zone{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin-bottom: 2rem;
    border: #333 0.2rem dashed ;

}

.drop_zone-input {
    padding: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 2rem;
    overflow: auto;
}

 #drop_zone label{
    /* width: 10%; */
    padding: 1rem;
    background-color: #ccc;
    border: none;
    border-left: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    text-align: center;
    font-size: 2rem;

  }
  
.main-content .Form{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 1rem;    
    padding: 2rem;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}
.Form label{
    font-size: 2rem;
    
}
.Form input, .Form select{
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    border: none;
    border-radius: 1rem;
    font-size: 1.7rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

#form {
    margin: 20px;
}

.overflow{
    overflow: auto;
}

#store-by-file{
    width: 100%;
}

.custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-radio input {
    display: none; 
}

.radio-btn {
    width: 20px;
    height: 20px;
    border: 2px solid #28496d;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    transition: background-color 0.2s ease;
}

.d-none{
    display: none;
}

.d-flex{
    display: flex;
}

.alert{
    font-size: 2rem;
    width: 100%;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.radio-btn::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: #28496d;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

input:checked + .radio-btn::after {
    opacity: 1;
}



@media (max-width: 768px) {
    .action-buttons .card {
        padding: 2rem; 
        max-width: 20rem; 
    }

    .card h3 {
        font-size: 2.5rem; 
    }

    .card p {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 743px) {
    .main-content{
        width: 90%;
        margin-left: 7rem;
    }

    .search-bar button {
        width: 15%;
    }
}

@media screen and (max-width: 500px) {
    .main-content{
        width: 90%;
        margin-top: 3rem;
        margin-left: 5rem;
        padding: 1rem;
    }

    .search-bar button {
        width: 15%;
    }

    .action-buttons .card {
        width: 100%;
        max-width: 100%;
    }

    .main-image img{
        width: 100%;
    }

    .main-content h1{
        font-size: 3rem;
    }

    .container h1{
        font-size: 4rem;
    }

    html {
        font-size: 55.5%;
    }

    .main-content h2 {
        font-size: 2.5rem;
    }

    .add-user button, .remove-user button, .search-bar input {
        font-size: 1.8rem;
    }

    #form {
        margin: 0px;
    }

    #drop_zone{
        flex-wrap: wrap;
    }

    #drop_zone label{
        margin-top: 5px;
        width: 100%;
    }
}


@media (max-width: 480px) {
    .card h3 {
        font-size: 2rem; 
    }

    .card p {
        font-size: 1.4rem; 
    }
}