body {
    font-family: "Roboto", sans-serif;
    background-color: #fff;
    background-size: cover;
    background-position: center center;
}

p {
    color: #b3b3b3;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Roboto", sans-serif;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

    a:hover {
        text-decoration: none !important;
    }

.content {
    padding: 7rem 0;
}

h2 {
    font-size: 20px;
}

.half, .half .container > .row {
    height: 100vh;
    min-height: 700px;
}

    .half .contents {
        background: #f6f7fc;
    }

    .half .bg {
        width: 25%;
    }

@media (max-width: 767.98px) {
    .half .bg {
        width: 100%;
        height: 200px;
    }
}

.half .contents {
    width: 75%;
}

@media (max-width: 767.98px) {
    .half .contents {
        width: 100%;
    }
}

.half .contents .form-control, .half .bg .form-control {
    border: none;
    border-radius: 4px;
    height: 54px;
    background: #efefef;
}

    .half .contents .form-control:active, .half .contents .form-control:focus, .half .bg .form-control:active, .half .bg .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.half .bg {
    background-size: cover;
    background-position: center;
}

.half a {
    color: #888;
    text-decoration: underline;
}

.half .btn {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px;
}

.half .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px;
}

.form-block {
    background: #fff;
    padding: 40px;
    max-width: 400px;
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .form-block {
        padding: 25px;
    }
}

.form-block-upload {
    background: #fff;
    padding: 40px;
    max-width: 800px;
    min-height: 550px;
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .form-block-upload {
        padding: 25px;
    }
}

.form-block-file-manager {
    background: #fff;
    padding: 40px;
    margin-top: 20px;
    width: 100%; /* Change to 100% for responsiveness */
    max-width: 900px; /* Add max-width to limit the size */
    min-height: 650px;
    -webkit-box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Add box-sizing to include padding and border in element's total width and height */
}

@media (max-width: 767.98px) {
    .form-block-file-manager {
        padding: 25px;
    }
}

@media (max-width: 414px) { /* Add media query for iPhone 12 and similar devices */
    .form-block-file-manager {
        padding: 15px; /* Further reduce padding on very small screens */
    }
}


.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
}

    .control .caption {
        position: relative;
        top: .2rem;
        color: #888;
    }

    .control input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px;
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #fb771a;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #fb8633;
}

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.9;
    pointer-events: none;
}

.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff;
}

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #7e0cf5;
    opacity: .2;
}

/*START User login info*/
.navbar {
    display: flex;
    justify-content: flex-end;
    padding: 0.4rem;
    background-color: #f8f9fa;
    position: relative;
}

.navbar-logo {
    margin-right: auto;
}

.user-info {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .user-info img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        margin-right: 0.5rem;
        object-fit: cover;
    }

    .user-info .username {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    z-index: 1000;
}

    .dropdown-menu a {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: #333;
        transition: background-color 0.2s;
    }

        .dropdown-menu a:hover {
            background-color: #f1f1f1;
        }

        .dropdown-menu a .icon {
            margin-right: 0.5rem;
        }

.dropdown-menu-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 180px;
    z-index: 1000;
}

    .dropdown-menu-nav a {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: #333;
        transition: background-color 0.2s;
    }

        .dropdown-menu-nav a:hover {
            background-color: #f1f1f1;
        }

        .dropdown-menu-nav a .icon {
            margin-right: 0.5rem;
        }

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 0.5rem;
    }

    .user-info img {
        width: 30px;
        height: 30px;
        margin-right: 0.25rem;
    }

    .user-info .username {
        font-size: 0.875rem;
        margin-right: 0.25rem;
    }

    .dropdown-menu {
        width: 150px;
    }
}
/*END User login info*/
/*START Folder list*/
.datepicker {
    width: 250px;
}

table {
    width: 100%;
    margin-top: 20px;
}

    table th, table td {
        text-align: center;
    }

/*Start Drag&Drop area*/
#drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 600px;
    height: 150px;
    margin: 20px auto;
    text-align: center;
    line-height: 150px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

    #drop-area.highlight {
        border-color: #007bff;
    }

@media (max-width: 767.98px) {
    #drop-area {
        padding: 50px 10px; /* Reduce padding on smaller screens */
        width: 360px;
        height: 150px;
        line-height: 50px;
    }
}

@media (max-width: 414px) { /* Add media query for iPhone 12 and similar devices */
    #drop-area {
        padding: 30px 5px; /* Further reduce padding on very small screens */
        width: 280px;
        height: 120px;
        line-height: 30px;
    }
}


.btn-upload {
    margin: 20px auto;
    text-align: center;
    width: 100%; /* Change to 100% for responsiveness */
    max-width: 600px; /* Add max-width to limit the size */
}

    .btn-upload input {
        width: 100%; /* Change to 100% for responsiveness */
        text-align: center;
        font-family: Arial, sans-serif;
        font-size: 16px;
    }

@media (max-width: 414px) { /* Add media query for iPhone 12 and similar devices */
    .btn-upload {
        margin: 20px auto;
        text-align: center;
        width: 80%; /* Change to 100% for responsiveness */
    }
}
/*END Drag&Drop area*/

/* Style for ValidationSummary */
.validation-summary-errors {
    color: red; /* Change the text color to red */
    font-size: 14px; /* Change the font size */
}

    .validation-summary-errors ul {
        list-style-type: none; /* Remove the bullet points */
        padding-left: 0; /* Remove the padding */
    }

/* Style for ValidationMessageFor */
.field-validation-error {
    color: red; /* Change the text color to red */
    font-size: 14px; /* Change the font size */
}
