body {
    background-color: #F2EFE5;
    font-family: 'Bricolage Grotesque';
    margin: 0;
    padding: 0;
}

input {
    font-family: 'Bricolage Grotesque';
}

.sticky-navbar {
    position: -webkit-sticky;
    /* For Safari */
    position: sticky;
    top: 1rem;
    z-index: 998;
    /* Adjust z-index as needed */
    /* Additional styling for your navbar */
    background-color: #E8D8C4;
    border: 2px solid black;
    margin: 10px 300px 10px 300px;
    overflow: hidden;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.upload-sticky-navbar {
    margin: 10px 100px 10px 100px;
}

.bottom-bar {
    margin: 1.5rem 300px 20px 300px;
    background-color: #E8D8C4;
    border: 2px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-size: 14px;
}

.upload-bottom-bar {
    margin: 10px 100px 20px 100px;
}

.language-select {
    display: inline-block;
    border: 1px solid black;
    padding: 0;
}

#lang {
    border-radius: 0;
    border-right: 2px solid transparent;
    border-left: 2px solid transparent;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    background-color: #F2EFE5;
}

#lang:focus {
    outline: none;
}

.dot-separator {
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}

.bottom-bar-text {
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.bottom-bar-text:hover {
    text-decoration: underline;
}

.bottom-bar span,
.social-media {
    display: inline-block;
    /* Display child divs inline */
}

.social-media {
    display: flex;
    /* Use flexbox for vertical alignment */
    align-items: center;
    /* Align items vertically center */
}

.social-media .social-media-div {
    display: inline-block;
    /* Display child divs inline */
    margin-right: 10px;
}

.social-media a {
    display: flex;
    /* Set the <a> tags to be flex containers */
    align-items: center;
    /* Align items vertically center within <a> tags */
}


.logo-microsoft {
    width: 200px;
    height: auto;
}

.logo-microsoft:hover {
    cursor: pointer;
}

.stats-container {
    margin-left: 300px;
    margin-right: 300px;
    margin-top: 1.5rem;
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.stat-card {
    flex: 1;
    background: #E8D8C4;
    padding: 20px;
    border: 2px dotted black;
    border-radius: none;
    text-align: center;
}

.stat-count {
    font-size: 2em;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.2em;
    color: black;
}


.social-media img {
    max-width: 20px;
    background-color: #ffffff;
}

.logo-icon {
    transform: rotate(45deg);
    padding: 0 !important;
    color: #FDE767 !important;
    -webkit-text-stroke: 1px black;
    /* Add outline/stroke to the icon */
    font-size: xx-large !important;
    font-weight: bold;
}

.logo-pidief {
    font-size: 20px;
    font-weight: bold;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.logo-placeholder,
.account,
.upload {
    display: flex;
    align-items: center;
    padding: 1rem;
}

.logo-placeholder {
    border-right: 2px solid black;
}

.account {
    border-left: 2px solid black;
}

.upload {
    font-weight: 600;
    margin-left: auto;
    /* Pushes the .upload div to the left edge */
    border-left: 2px solid black;
}

/* START OF PASSWORD RESET */
#forgot-password-button {
    float: left;
    margin-top: 1.5rem;
}

#reset-password-button {
    margin-top: 2rem;
}

#show-password-button,
#forgot-password-button {
    font-size: 14px;
    font-weight: 500;
}

#show-password-button {
    float: right;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.show-password-button {
    margin-top: 1.5rem !important;
}

#forgot-send-email,
.reset-password-input,
#email-waitlist {
    box-sizing: border-box;
    margin-bottom: 3px;
    font-size: 18px;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 0;
    width: 100%;
}

#email-waitlist {
    border: 1px solid black;
    box-sizing: border-box;
}

#forgot-send-email:focus,
.reset-password-input,
#email-waitlist:focus {
    border-radius: none;
    background-color: white;
    cursor: text;
    outline: none;
}

#email-waitlist:focus {
    border: 2px solid black;
    outline: none;
}

#send-email-waitlist {
    position: relative;
    border: 1px solid black;
    box-sizing: border-box;
}

#send-email-waitlist span {
    font-size: 16px;
}

.forgot-email-div,
.reset-password-div {
    margin: auto;
    width: 75%;
    margin-bottom: 2rem;
}

#forgot-warning-email,
#password-warning-reset {
    display: inline-block;
    width: 100%;
    /* Ensure the span takes up only the necessary width */
    text-align: left;
}

#reset-password-first {
    margin-bottom: 2rem;
}

/* END OF PASSWORD RESET */

/* START OF VIEW-PDF */
.view-pdf-div {
    padding-left: 6rem;
    padding-right: 6rem;
    margin-top: 0;
    padding-top: 3rem !important;
}

#share-button,
#download-button {
    display: flex;
    /* Use flexbox */
    align-items: center;
    /* Center vertically */
}

#share-button {
    flex: 1;
    margin-left: 1rem;
}

#download-button {
    flex: 1;
    margin-right: 1rem;
}

#share-button .material-symbols-outlined,
#download-button .material-symbols-outlined {
    padding-bottom: 0;
}

#share-button .share-icon,
#download-button .download-icon {
    float: left;
}

#share-button .button__text,
#download-button .button__text {
    flex-grow: 1;
    /* Allow the text span to grow and take up remaining space */
    text-align: center;
    /* Center the text horizontally */
}

.view-details {
    display: block;
    text-align: left;
    width: 100%;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.view-details-inner {
    background-color: white;
    border: 1px solid black;
    padding: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.doc-title {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.view-details-title {
    font-size: 18px;
    font-weight: 500;
}

.prof-date-div {
    display: flex;
}

.prof-date-div>div {
    flex: 1;
    /* Equal width for both divs */
}

.prof-date-div>div:first-child {
    margin-right: 2rem;
    /* Optional: Add spacing between divs */
}

/* END OF VIEW-PDF */

.material-icons {
    font-size: 2rem;
}

.search-icon {
    font-weight: 500;
}

.search-navbar {
    margin-right: 0.5rem;
}

.title {
    font-size: 3rem;
    width: 33rem;
}

.content {
    margin-left: 300px;
    margin-right: 300px;
    background-color: #E8D8C4;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 8rem;
    padding-bottom: 7.5rem;
    margin-top: 1.5rem;
    min-height: 50vh;
}

.upload-content-main {
    margin-left: 100px;
    margin-right: 100px;
}

.content-home {
    padding-bottom: 13rem;
}

.email-list-div {
    margin-left: 300px;
    margin-right: 300px;
    margin-top: 1.5rem;
    background-color: #E8D8C4;
    border: 2px dotted black;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    /* Vertically center the content */
}


.email-list-div input[type="email"],
.email-list-div button {
    flex: 1;
}

.email-list-div span {
    flex: 1;
    flex: 45%;
    font-size: 20px;
    font-weight: 500;
    /* Make each item flexible to take up equal space */
}

.email-list-div input[type="email"] {
    flex: 45%;
    margin: 0;
    margin-bottom: 0 !important;
    margin-left: 1rem;
    /* Adjust the width for the input */
}

.email-list-div button {
    flex: 10%;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 0.75rem;
    margin-left: 1rem;
    /* Adjust the width for the button */
}

.dropdown {
    position: relative;
    display: flex;
}

.dropdown-content {
    display: none;
    border: 1px solid black;
    position: absolute;
    background-color: #F2EFE5;
    width: 31rem;
    height: 5.48rem;
    overflow: auto;
    z-index: 1;
    font-family: "Bricolage Grotesque";
    text-align: left;
    margin-top: 0.75rem;
}

.course-select-dropdown,
#course-select-dropdown {
    height: 15rem;
}

.prof-select-dropdown {
    height: 10rem;
}

.prof-select-dropdown,
.course-select-dropdown {
    width: 100%;
    font-size: small;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    display: flex;
    font-family: "Bricolage Grotesque";
    font-weight: bold;
    align-items: center;
    border-bottom: 1px solid black;
    text-decoration: none;
}

.uni-select-dropdown a:nth-child(2) {
    pointer-events: none;
    color: gray;
    border-bottom: 0;
    /* Optional: Change the color to indicate it's inactive */
}


.dropbtn,
#ai-search {
    color: black;
    /* border-radius: 10rem; */
    padding: 0.7rem 1rem;
    font-size: 20px;
    border: 2px solid black;
    font-weight: 600;
    margin-top: 1rem;
    font-family: 'Bricolage Grotesque';

    background: url(/images/icons/search.png) no-repeat scroll 1rem 0.75rem;
    padding-left: 3.5rem;

    background-color: white;
    background-size: 1.5rem, 1.5rem;
    transition: .2s;
    width: 26.5rem;
    float: none;
}

ul li {
    list-style-type: none;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1rem 0;
}

#passwordRequirements ul {
    margin: 0;
    padding-top: 0.75rem;
    padding-left: 0.9rem;
}

.reset-password-div #passwordRequirements ul {
    padding-left: 0;
}

#passwordRequirements ul li {
    justify-content: left;
    align-items: left;
    text-align: left;
    font-size: 13px;
    padding: 0;
    padding-top: 0.25rem;
}

#profile-name {
    margin-left: 0.5rem;
    font-weight: 600;
}

.button {
    color: black;
    background-color: #FDE767;
    outline: 0;
    transition: .2s;
    cursor: pointer;
    font-family: 'Bricolage Grotesque';
    padding: 0.7rem 1rem;
    margin-top: 1rem;
}

.search-button {
    width: 31.2rem;
    border: 2px solid black;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

#send-email-button .button__text,
#reset-password-button .button__text {
    font-size: 18px;
    font-weight: 600;
}

#login-verified-button {
    width: 15rem;
}

#signup-button,
#login-button {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
}



.dropbtn::placeholder {
    color: grey;
}

#profile-dropdown-content {
    position: fixed;
    right: 18.75rem;
    top: 5rem;
    width: 9.25rem;
    height: fit-content;
}

#profile-dropdown-content a {
    font-weight: 600;
}

.signup-form-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.signup-form-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    background-color: #F2EFE5;
    border: 2px solid black;
}

.tos-privacy-div {
    padding: 1rem;
    text-align: left;
    max-height: 80%;
    overflow-y: auto;
}

.signup-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signup-form-header h3 {
    margin: auto;
}

.signup-form-header button {
    font-size: 30px;
    font-family: 'Nunito';
    color: #aaa;
    background-color: transparent;
    border: none;
    border-left: 1px solid black;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
}

#tos-privacy-modal button {
    border: 0;
    font-size: 60px;

}

h3.center-text {
    text-align: center;
    font-size: 17px;
}

.header-hr,
hr {
    border: none;
    background-color: black;
    height: 1px;
    margin: 0;
}

.invalid-input {
    color: #b10e0e;
    margin-top: 0.5rem;
    display: flex;
    font-size: small;
    font-weight: 600;
}

.placeholder-red::placeholder {
    color: #b10e0e;
}

.invalid {
    color: #b10e0e;
}

select.invalid {
    border-color: #b10e0e !important;
}

input.invalid {
    border: 2px solid #b10e0e !important;
}

input.invalid:focus,
select.invalid:focus {
    border: 2px solid #b10e0e;
}

.signup-form {
    margin: 2.5rem 1.5rem 2.5rem 1.5rem;
    text-align: left;
}

.welcome-signup-h3 {
    margin-bottom: 1.5rem;
    font-size: medium;
}

.or-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 30px;
}

.inline-hr {
    flex: 1;
    height: 1px;
}

.inline-hr-left {
    margin-right: 10px;
}

.inline-hr-right {
    margin-left: 10px;
}

.or-text {
    font-size: 14px;
    font-weight: 500;
}

.signup-text {
    text-align: center;
    margin-bottom: 1rem;
}

.text-button {
    font-weight: bold;
    text-decoration: underline;
}

.text-button:hover {
    cursor: pointer;
}

#signout-link {
    border-bottom: 0;
}

.file-title,
.email-input,
.did-floating-select,
.password-input,
.file-description-input {
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: #fff;
    font-family: "Bricolage Grotesque";
    color: black;
    border: 1px solid black;
    box-sizing: border-box;
    outline: 0;
}

.did-floating-select {
    cursor: pointer;
}

.login-content {
    margin-bottom: 1rem;
}

select.did-floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.did-floating-select::-ms-expand {
    display: none;
}

.did-floating-select:not([value=""]):valid~.did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select[value=""]:focus~.did-floating-label {
    top: -8px;
    font-size: 13px;
}

.did-floating-select:not([multiple]):not([size]),
.course-select,
.prof-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

/*UPLOAD.EJS*/

.multiple-file-table {
    margin-top: 2rem;
    border-collapse: separate;
    border-spacing: 0 1rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.multiple-file-table thead {
    text-decoration: underline;
    text-align: left;
}

.display-inline {
    display: inline-block !important;
}

.display-block {
    display: block;
}

.multi-upload-td input {
    margin: 0 !important;
}

.filename-multi {
    text-decoration: underline;
    font-size: 15px;
    font-weight: 600;
}

.file-details {
    padding-right: 2rem !important;
    text-align: left;
}

.file-size-span {
    text-align: left;
    font-size: 14px;
}

.multi-upload-td {
    padding-right: 1rem;
}

.multi-upload-td .material-symbols-outlined {
    padding-right: 1rem;
    padding-bottom: 0;
}

.upload-div {
    border: 1px dashed black;
    padding: 2rem 0.5rem;
    background-color: white;
    text-align: center;
    cursor: pointer;
    margin: 0 2rem;
}

.material-symbols-outlined {
    font-size: 2rem;
    color: black;
    display: block;
    padding-bottom: 0.5rem;
}

.upload-content {
    text-align: left;
    margin: 2rem 0 0 0;
    background-color: #E8D8C4;
    padding: 0rem;
    border: none;
    width: 50%;
}

.upload-content-title {
    font-size: large;
    font-weight: 500;
}

.upload-hr {
    height: 2px;
    margin-top: 2rem;
}

.text-upload {
    font-size: small;
    text-decoration: underline;
    overflow-wrap: break-word;
}

.upload-course-div {
    margin: 0 2rem;
    margin-top: 2rem;
}

#warning-file {
    margin: 0 2rem;
    margin-top: 1rem;
}

.upload-title {
    font-size: large;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

#file-upload-button,
#file-continue-button {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    position: relative;
}

#file-upload-button {
    width: 25%;
    margin-top: 3rem;
}

.course-select,
.prof-select {
    border: 1px solid black;
    font-size: 14px;
    font-weight: 500;
    padding: 15px;
    padding-right: 30px;
    background-size: 8px;
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.course-select::placeholder,
.prof-select::placeholder {
    color: grey;
}

.course-select:hover,
.prof-select:hover {
    transform: none !important;
    box-shadow: none !important;
}

.upload-dropdown {
    width: 100%;
    display: block;
}

#warning-general {
    font-size: 20px;
    display: block;
    width: auto !important;
    /* Set width as needed */
    text-align: left !important;
    /* Align text to the left */
}

td {
    position: relative;
    /* Ensure the <td> is relatively positioned */
}

/* New styles for the close icon */
div.button--loading::before {
    content: '✕';
    /* Unicode for "x" symbol */
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 2px;
    padding-right: 1px;
    margin: auto;
    font-size: 12px;
    font-weight: 900;
    color: black;
    /* Change the color as needed */
    visibility: hidden;
    /* Initially hidden */
    cursor: pointer;
}

div.button--loading::after {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid white;
    border-top-color: black;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
    cursor: pointer;
}

div.button--loading:hover::before {
    visibility: visible;
    cursor: pointer;
    /* Show the close icon on hover */
}

.status {
    font-size: 25px;
}

/*END OF UPLOAD.EJS*/

/* SEARCH-DOCS.EJS */

#fileTable {
    width: calc(100% - 20rem);
    text-align: left;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

#fileTable .header {
    display: flex;
    margin-bottom: 1rem;
}

#fileTable .header .column {
    flex: 1;
    padding: 1rem 2rem;
    font-size: large;
    font-weight: bold;
    text-decoration: underline;
}

#fileTableBody .row {
    display: flex;
    border: 2px solid black;
    background-color: white;
    transition: .2s;
    margin-bottom: 0.75rem;
}

#fileTableBody .row .column {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 18px;
    font-weight: 500;
}


.ai-search-span {
    font-size: xx-large;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#ai-search {
    background: url(/images/icons/magic.png) no-repeat scroll 0.75rem 0.65rem;
    background-color: white;
    background-size: 1.5rem, 1.5rem;
}

.or-search {
    font-size: large;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* END OF SEARCH-DOCS.EJS */

.inactive {
    display: none !important;
}

.email-sent {
    box-sizing: border-box;
    display: block;
    margin: auto;
    margin-top: 10rem;
    border: 2px solid black;
    background-color: #E8D8C4;
    align-items: center;
    text-align: center;
    padding-bottom: 3rem;
    width: 35%;
    padding: 1rem 2rem 3rem 2rem;
}

.email-sent hr {
    border: none;
    height: 1px;
    margin: 0;
    background-color: black;
}

.email-sent .material-symbols-outlined {
    font-size: 100px;
    -webkit-text-stroke: 1px black;
    color: green;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.email-sent h2 {
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-size: x-large;
    font-weight: 600;
}

.email-sent h3 {
    margin-bottom: 4rem;
    font-size: large;
    font-weight: 500;
}

.email-sent button {
    display: block;
    margin: auto;
    margin-bottom: 1rem;
    width: 75%;
}

.email-sent div {
    text-align: center;
    align-items: center;
}

.sent-email-address {
    text-decoration: underline;
    overflow-wrap: break-word;
}

.button__text {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

button.disabled {
    background-color: #a3a0a0 !important;
    border: 2px solid black !important;
}

input:disabled {
    background-color: #F2EFE5;
}

input:disabled:hover {
    cursor: not-allowed;
}

button.disabled:hover {
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.button--loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.dropbtn:focus,
#ai-search:focus,
.course-select:focus,
.prof-select:focus {
    background-color: white;
    cursor: text;
    outline: 0;
}

.file-title:focus,
.email-input:focus,
.did-floating-select:focus,
.password-input:focus,
.course-select:focus,
.prof-select:focus,
.file-description-input:focus {
    border: 2px solid black;
}


.dropdown-content a:hover {
    background-color: white;
    cursor: pointer;
}

.logo-placeholder:hover,
.account:hover,
.upload:hover {
    cursor: pointer;
    background: white;
}

.dropbtn:hover,
.button:hover,
#fileTableBody .row:hover,
#ai-search:hover {
    cursor: pointer;
    box-shadow: 0.25rem 0.25rem black;
    transform: translate(-0.25rem, -0.25rem);
}

/* TOGGLE */
/* The switch - the box around the slider */
.switch {
    flex-shrink: 0;
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(/images/icons/magic.png) no-repeat 0.5rem 0.45rem #FDE767;
    /* Added background image and color */
    background-size: 1rem 1rem;
    background-color: white;
    /* Corrected background size syntax */
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid black;
    border-radius: 34px;

    width: 56px;
    height: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: black;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #FDE767;
}


input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.toggle-div {
    display: flex;
    align-items: center;
    border: 1px solid black;
    padding: 1rem;
    background-color: white;
}

.toggle-div span {
    margin: 0;
    font-size: medium;
    font-weight: 700;
    flex-grow: 1;
    /* Allow the label to grow and take up remaining space */
    white-space: nowrap;
    /* Prevent wrapping of the label text */
    overflow: hidden;
    /* Hide overflow if the text is too long */
    text-overflow: ellipsis;
    /* Display ellipsis for truncated text */
}

.file-not-found {
    width: 70%;
    margin-top: 4rem;
    border: 2px solid black;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-12px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(16px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-25px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(25px, 0, 0);
    }
}

.hover {
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    perspective: 1000px;
}

.button:active,
.dropbtn:active,
#fileTableBody .row:active,
#ai-search:active {
    transform: translate(0);
    box-shadow: none;
}

.signup-form-header button:hover {
    color: #333;
}

/*START OF ADMIN FORM*/

.admin-safe-div {
    width: 100%;
    /* Adjust width as needed */
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

#adminForm,
#deleteFileForm,
#transferFileForm,
.admin-analytics {
    display: flex;
    flex-direction: column;
    border: 2px solid black;
    margin-bottom: 2rem;
    padding: 1rem;
}

.admin-analytics div h2 {
    padding: 0;
    margin-bottom: 1rem;
    margin-top: 0;
}

.admin-analytics h1 {
    margin-top: 0;
    text-decoration: underline;
}

#adminForm div,
#deleteFileForm div,
#transferFileForm div {
    margin-bottom: 15px;
}

#adminForm label,
#deleteFileForm label,
#transferFileForm label {
    font-weight: bold;
    display: block;
}

#adminForm input[type="text"],
#adminForm input[type="password"],
#deleteFileForm input,
#transferFileForm input {
    width: 90%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#adminForm button,
#deleteFileForm button,
#transferFileForm button {
    width: 90%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#adminForm button:hover,
#deleteFileForm button:hover,
#transferFileForm button:hover {
    background-color: #0056b3;
}

/* END OF ADMIN FORM*/

/* START OF ADMIN LOGIN PAGE*/
/* Style the container */
#container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    /* Add your desired background color */
}

/* END OF ADMIN LOGIN PAGE*/

/* Default styles */

/* Media query for screens with a maximum width of 1500px */
@media (max-width: 1500px) {

    .content,
    .email-list-div,
    .stats-container {
        margin-left: 150px;
        margin-right: 150px;
    }

    .upload-content-main {
        margin-left: 50px;
        margin-right: 50px;
    }

    .sticky-navbar {
        margin: 10px 150px 10px 150px;
    }

    .upload-sticky-navbar {
        margin: 10px 50px 10px 50px;
    }

    .bottom-bar {
        margin: 1.5rem 150px 20px 150px;
    }

    .upload-bottom-bar {
        margin: 10px 50px 20px 50px;
    }

    #profile-dropdown-content {
        right: 9.35rem;
    }

    #fileTable {
        width: calc(100% - 10rem);
    }
}

/* Media query for screens with a maximum width of 1500px */
@media (max-width: 1000px) {
    .title {
        font-size: 2.5rem;
        width: 26.5rem;
    }

    .dropbtn,
    #ai-search {
        width: 20rem;
    }

    .dropdown-content {
        width: 24.5rem;
    }

    .search-button {
        width: 24.7rem;
    }

    .email-sent {
        width: 75%;
    }

    .view-pdf-div {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .upload-content {
        width: 75%;
    }

    .email-list-div {
        padding: 1rem;
    }

    .email-list-div span {
        font-size: 16px;
        font-weight: 500;
        /* Make each item flexible to take up equal space */
    }

    .email-list-div input[type="email"] {
        margin-left: 0.75rem;
        font-size: 16px !important;
        /* Adjust the width for the input */
    }

    .email-list-div button {
        font-size: 16px;
        font-weight: 500;
        padding: 0.75rem;
        margin-left: 0.75rem;
        /* Adjust the width for the button */
    }

    .stat-count {
        font-size: 1.8em;
    }

    .stat-label {
        font-size: 1em;
    }
}

@media (max-width: 800px) {

    .content,
    .email-list-div,
    .stats-container {
        margin-left: 50px;
        margin-right: 50px;
        margin-top: 1rem;
    }

    .upload-content-main {
        margin-left: 25px;
        margin-right: 25px;
    }

    .sticky-navbar {
        margin: 10px 50px 10px 50px;
    }

    .upload-sticky-navbar {
        margin: 10px 25px 10px 25px;
    }

    .bottom-bar {
        margin: 1rem 50px 10px 50px;
    }

    .upload-bottom-bar {
        margin: 10px 25px 10px 25px;
    }

    .title {
        font-size: 2.25rem;
        width: 24rem;
    }

    .dropbtn,
    #ai-search {
        width: 17.5rem;
    }

    .dropdown-content {
        width: 22rem;
    }

    .search-button {
        width: 22.2rem;
    }

    #profile-dropdown-content {
        right: 3.15rem;
    }

    .email-sent {
        width: 77.5%;
    }

    .view-pdf-div {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .upload-content {
        width: 80%;
    }
}

@media (max-width: 650px) {
    .content {
        margin-left: 25px;
        margin-right: 25px;
        padding-bottom: 12rem;
    }

    .upload-content-main {
        margin-left: 10px;
        margin-right: 10px;
    }

    .email-list-div,
    .stats-container {
        margin-left: 25px;
        margin-right: 25px;
    }

    .stat-count {
        font-size: 1.5em;
    }

    .stat-label {
        font-size: 0.8em;
    }

    .sticky-navbar {
        margin: 10px 25px 10px 25px;
    }

    .upload-sticky-navbar {
        margin: 10px 10px 10px 10px;
    }

    .bottom-bar {
        margin: 1rem 25px 10px 25px;
        padding: 0.75rem;
        font-size: 12px;
    }

    .upload-bottom-bar {
        margin: 1rem 10px 0px 10px;
    }

    #profile-dropdown-content {
        right: 1.55rem;
    }

    #fileTable {
        width: calc(100% - 5rem);
    }

    .email-sent {
        width: 85%;
    }

    .view-pdf-div {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .toggle-div span {
        font-size: 15px;
        font-weight: 600;
    }

    .email-list-div span {
        font-size: 14px;
        font-weight: 500;
        /* Make each item flexible to take up equal space */
    }

    .email-list-div input[type="email"] {
        margin-left: 0.5rem;
        font-size: 14px !important;
        padding: 0.5rem !important;
        /* Adjust the width for the input */
    }

    #send-email-waitlist span {
        font-size: 14px;
    }

    .email-list-div button {
        font-size: 14px;
        font-weight: 500;
        padding: 0.5rem;
        margin-left: 0.5rem;
        /* Adjust the width for the button */
    }
}

@media (max-width: 550px) {
    .content {
        margin-left: 12.5px;
        margin-right: 12.5px;
        padding-bottom: 10rem;
        padding-top: 7rem;
    }

    .upload-content-main {
        margin-left: 5px;
        margin-right: 5px;
    }

    .email-list-div,
    .stats-container {
        margin-left: 12.5px;
        margin-right: 12.5px;
    }

    .sticky-navbar {
        margin: 10px 12.5px 10px 12.5px;
    }

    .upload-sticky-navbar {
        margin: 10px 5px 10px 5px;
    }

    .bottom-bar {
        margin: 1rem 12.5px 5px 12.5px;
    }

    .upload-bottom-bar {
        margin: 5px;
    }

    #profile-dropdown-content {
        right: 0.75rem;
    }

    .title {
        font-size: 2rem;
        width: 21.5rem;
    }

    .dropbtn,
    #ai-search {
        width: 15rem;
    }

    .dropdown-content {
        width: 19.5rem;
    }

    .search-button {
        width: 19.7rem;
    }

    #profile-name {
        display: none;
    }

    .signup-form-container {
        width: 400px;
    }

    .welcome-signup-h3 {
        margin-bottom: 1rem;
        font-size: 14px;
    }

    .signup-form {
        margin: 1.5rem 1.5rem 1.5rem 1.5rem;
    }

    .email-input,
    .did-floating-select,
    .password-input {
        font-size: 14px;
    }

    .course-select,
    .course-select::placeholder,
    .prof-select,
    .prof-select::placeholder,
    .file-title,
    .file-title::placeholder,
    .file-description-input,
    .file-description-input::placeholder {
        font-size: 14px;
    }

    .login-content {
        margin-bottom: 0.75rem;
    }

    #passwordRequirements ul {
        padding-top: 0.5rem;
        padding-left: 0.75rem;
    }

    #passwordRequirements ul li {
        font-size: 12px;
    }

    #signup-button,
    #login-button {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .email-sent {
        width: 85%;
    }

    .view-pdf-div {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .upload-content {
        width: 90%;
    }
}

@media (max-width: 500px) {
    .title {
        font-size: 1.75rem;
        width: 18.75rem;
    }

    .dropbtn,
    #ai-search {
        width: 13rem;
        font-size: 16px;
        background: url(/images/icons/search.png) no-repeat scroll 0.75rem 0.65rem;
        background-size: 1.25rem, 1.25rem;
        background-color: white;
        padding-left: 2.75rem;
    }

    /* Override for elements with class course-select */
    .dropbtn.course-select {
        /* Add specific styles here */
        /* For example, if you want to remove the background image */
        background-image: none;
        /* Add any other styles you want to override */
    }

    #ai-search {
        background: url(/images/icons/magic.png) no-repeat scroll 0.75rem 0.65rem;
        background-color: white;
        background-size: 1.25rem, 1.25rem;
    }

    .dropbtn::placeholder,
    #ai-search::placeholder {
        font-size: 16px;
    }

    .dropdown-content {
        width: 16.75rem;
    }

    .dropdown-content a {
        padding: 12px 16px;
        font-size: 16px;
    }

    .search-button {
        width: 16.95rem;
        font-size: 16px;
    }

    #send-email-button .button__text,
    #reset-password-button .button__text {
        font-size: 16px;
    }

    .signup-form-container {
        width: 350px;
    }

    #fileTableBody .row .column {
        font-size: 14px;
        padding: 1rem 1rem;
    }

    #fileTable .header .column {
        font-size: 16px;
        padding: 1rem 1rem;
    }

    #fileTable .header {
        margin-bottom: 0.5rem;
    }

    #fileTable {
        width: calc(100% - 2.5rem);
    }

    .tos-privacy-div {
        width: 300px;
        max-height: 60%;
    }

    .email-sent {
        width: 95%;
    }

    .view-pdf-div {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .slider {
        background: url(/images/icons/magic.png) no-repeat 0.4rem 0.4rem #FDE767;
        /* Added background image and color */
        background-size: 0.75rem 0.75rem;
        background-color: white;
        /* Corrected background size syntax */
        border-radius: 34px;
        width: 42px;
        height: 23px;
    }

    .slider:before {
        height: 17px;
        width: 17px;
        left: 3px;
        bottom: 3px;
        background-color: black;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }

    .switch {
        width: 42px;
        height: 23px;
    }

    input:checked+.slider:before {
        -webkit-transform: translateX(19px);
        -ms-transform: translateX(19px);
        transform: translateX(19px);
    }
}

@media (max-width: 400px) {
    .title {
        font-size: 1.5rem;
        width: 15.75rem;
    }

    .dropbtn,
    #ai-search {
        width: 11rem;
        background: url(/images/icons/search.png) no-repeat scroll 0.7rem 0.75rem;
        background-size: 1rem, 1rem;
        background-color: white;
        padding-left: 2.25rem;
        padding-right: 0.75rem;
    }

    #ai-search {
        background: url(/images/icons/magic.png) no-repeat scroll 0.75rem 0.65rem;
        background-color: white;
        background-size: 1rem, 1rem;
    }

    .search-button {
        width: 14.2rem;
    }

    .dropdown-content {
        width: 13.75rem;
        height: fit-content;
    }

    .dropdown-content a {
        padding: 10px 14px;
        font-size: 13px;
    }

    .logo-placeholder,
    .account,
    .upload {
        padding: 0.75rem;
    }

    .upload {
        font-size: 14px;
    }

    .upload .material-icons,
    .account .material-icons,
    .material-symbols-outlined {
        font-size: 1.5rem !important;
    }

    .email-sent .material-symbols-outlined {
        font-size: 100px !important;
    }

    .logo-icon {
        -webkit-text-stroke: 0.75px black;
    }

    .logo-pidief {
        font-size: 14px;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }

    .signup-form-container {
        width: 300px;
    }

    .signup-form {
        margin: 1rem;
    }

    #signup-button,
    #login-button {
        margin-top: 1rem;
        margin-bottom: 0.25rem;
    }

    .or-separator {
        margin-bottom: 10px;
        margin-top: 30px;
    }

    .or-text {
        font-size: 12px;
        font-weight: 500;
    }

    .signup-text {
        font-size: 14px;
    }

    h3.center-text {
        font-size: 15px;
    }

    #fileTableBody .row .column {
        font-size: 12px;
        padding: 0.75rem 1rem;
    }

    #fileTable .header .column {
        font-size: 14px;
        padding: 0.75rem 1rem;
    }

    #fileTable .header {
        margin-bottom: 0;
    }

    .tos-privacy-div {
        width: 250px;
        max-height: 60%;
    }

    .upload-div {
        margin: 0 1.5rem;
    }

    .upload-course-div {
        margin: 0 1.5rem;
        margin-top: 1rem;
    }

    .upload-content {
        margin-top: 0;
        padding: 0;
    }

    .bottom-bar-first .bottom-bar-text {
        display: block !important;
    }

    .bottom-bar .dot-separator {
        display: none;
    }

    .social-media img {
        max-width: 17.5px;
        background-color: #ffffff;
    }

    #lang {
        font-size: 12px;
        border-radius: 0;
        border-right: 1px solid transparent;
        border-left: 1px solid transparent;
        border-top: 2px solid transparent;
        border-bottom: 2px solid transparent;
    }

    .copyright-text,
    #tos-id,
    .contact,
    .padding-bot {
        padding-bottom: 5px !important;
    }

    .email-sent {
        margin-top: 3rem;
        width: 95%;
    }

    #login-verified-button {
        width: 10rem;
    }

    .view-pdf-div {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    #profile-dropdown-content {
        top: 4rem !important;
        width: 7rem;
    }

    #profile-dropdown-content a {
        font-weight: 500;
    }
}