html, body {
    height: 100%;
    font-family: Poppins, sans-serif;
}

body {
    background: linear-gradient(to bottom, rgba(47, 48, 142, 0.85), rgba(47, 48, 142, 0.6)), url("../image/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh; /* Allow page to grow */
    background-attachment: fixed; /* Keeps background fixed while scrolling */
}

.navbar-default {
    background: linear-gradient(to right, #0D094F, #1A1476);
    border-color: #80ffff;
    /*margin-top: 10px;*/
    z-index: 1000; /* Ensure header stays on top */
}

FORM {
    MARGIN: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* Center Content */
container {
    display: flexbox;
    justify-content: center;
    align-content: center;
}



/*Login container */
#div_login {
    /*margin: 20px auto;*/
    display: flexbox;
    height:100vh;
    justify-content: center;
    align-content: center;
}

div#content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#loginCarousel {
    background: rgba(255, 255, 255, 0.05); /* White with 20% opacity */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px 20px; /* Centering and spacing */
    max-width: 500px; /* Adjust width as needed */
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    #loginCarousel {
        display: none;
    }
}


#loginCard {
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    padding: 20px 10px;
    margin: 60px 60px; /* Centers it */
    transition: all 0.3s ease-in-out;
    /* Set min and max width */
    min-width: 300px; /* Ensures usability on small screens */
    max-width: 450px; /* Prevents it from getting too large */
    width: 100%; /* Makes it flexible */
}

/* Adjust margin and padding for smaller screens */
@media (max-width: 480px) {
    #loginCard {
        margin: 10px auto;
        padding: 15px;
        width: 93vw;
    }
}


#loginCard:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15); /* Smooth hover effect */
}

#loginCard h3 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

#loginCard .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
}

#loginCard .btn-primary {
    padding: 12px 20px;
    font-weight: bold;
    background-color: #1C166C;
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    padding-right: 10px;
    margin-bottom: 10px;
    display: block;
}

    #loginCard .btn-primary:hover {
        background-color: #2A208A;
    }


#loginCard .text-center {
    margin-top: 10px;
    font-size: 14px;
}

.form-group {
    display: flex;
    flex-direction: column; /* Places label and input on separate rows */
    width: 100%;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-right: 10px;
    padding-left: 20px;
}

@media screen and (max-width: 768px) {

    .navbar-default {
        background: linear-gradient(to bottom, rgba(47, 48, 142, 1), rgba(47, 48, 142, 1));
        border-color: #e7e7e7;
        /*margin-top: 10px;*/
    }

    .form-group {
        display: flex;
        flex-direction: column; /* Places label and input on separate rows */
        width: 100%;
        align-items: flex-start;
        margin-bottom: 10px;
        padding-right: 30px;
    }

    #loginCard .btn-primary {
        padding: 12px 20px;
        font-weight: bold;
        background-color: #1C166C;
        color: white;
        text-align: center;
        border: none;
        border-radius: 5px;
        transition: background 0.3s ease-in-out;
        margin-bottom: 10px;
        display: block;
    }

   
}

.label-style {
    font-weight: bold;
    font-size: 14px;
    color: #000;
    margin-left: 10px;
}


.input-full {
    width: 92%;
    height: 30px;
    padding: 9px;
    margin: 4px 10px;
    font-size: 16px;
    /* margin-right: 54px; */
}

.forgot-password {
    display: flex;
    justify-content: flex-end;
    padding-right: 5px;
}

@media screen and (max-width: 768px) {
    .forgot-password {
        display: flex;
        justify-content: flex-end;
        padding-right: 30px;
    }
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

    .forgot-password a:hover {
        text-decoration: underline;
    }

/*Modul Popup */

.radio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 160px;
    height: 100px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    margin: 20px;
}

    .radio-card:hover {
        background-color: #00b7e6; /* Light blue on hover */
    }

.radio-input {
    display: none; /* Hide actual radio button */
}

.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
}

.radio-card.selected {
    background-color: #00b7e6; /* Light blue when selected */
    font-weight: bold;
}

.radio-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
}


.card-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping */
    gap: 10px; /* Spacing between cards */
    justify-content: center; /* Centers cards */
}




.card-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:250px; 
    height: 200px; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    padding-bottom: 10px;
}

@media (max-width: 480px) {
    .card-option {
        width:150px; 
    }
}

    .card-option img {
        margin-bottom: 5px;
    }

#table_case_1_5 tbody {
    width: 100% !important;
    display: table-row-group !important;
}
