/* ============================================= */
/* Reuseable styles */
/* ============================================= */
:root {
    --bg-dark-color: #161616;
    --bg-dark-card-color: #1E1E1E;
    --bg-grey-color: #3b3a3a;
    --bg-gold-color: #ffd700;
    --bg-white-color: #fff;
    --dark-white-color: #f6efef;
    --text-muted-color: #b0b0b0;
    --text-color: #fff;
    --secondary-color: #2ecc71;
}


.navbar-toggler {
    border: none;
}


.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none;
    box-shadow: none;
}


.logo {
    height: 70px;
}


.alrt-success {
    background-color: #0f5132;
    border: 1px solid #198754;
    color: #d1e7dd;
}

.alrt-danger {
    background-color: #58151c;
    border: 1px solid #dc3545;
    color: #f8d7da;
}


/* ============================================= */
/* Home styles */
/* ============================================= */

body {
    background-color: var(--bg-dark-color);
}

.home-card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

/* .home-card:hover {
    transform: translateY(-5px);
} */

.home-body {
    max-height: 100px;
    overflow: hidden;
}

.card {
    background-color: var(--bg-dark-card-color);
}

.btn-gold {
    background-color: var(--bg-gold-color);
    color: #ffffff;
}

.btn-gold:hover {
    border: var(--bg-white-color) solid 1px;
    color: var(--bg-white-color);
}


.date {
    color: var(--text-muted-color);
}

.bg-gold {
    background-color: var(--bg-gold-color);
}





/* ============================================= */
/* NoteView styles */
/* ============================================= */

.note-card {
    max-width: 700px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 30px;
    background-color: var(--bg-dark-card-color);
}


.note-date {
    font-size: 0.9rem;
    color: var(--text-muted-color);
}


.note-body {
    white-space: pre-line;
}


.note-view_bg {
    background-color: var(--bg-grey-color);
    padding: 20px;
    border-radius: 10px;
}


/* ============================================= */
/* CreateNote styles */
/* ============================================= */
.note-editor {
    background: var(--bg-dark-card-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}


textarea {
    resize: vertical;
    min-height: 200px;
    font-family: monospace;
}


.preview-box {
    background: var(--bg-grey-color);
    padding: 15px;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 400px;
}


.note-editor .form-label {
    color: var(--text-color);
}


.note-editor .form-control {
    background-color: var(--dark-white-color);
}


.ql-editor.ql-blank::before {
    color: white;
}

.ql-font-times-new-roman {
    font-family: 'Times New Roman', Times, serif;
}

.ql-font-arial {
    font-family: Arial, sans-serif;
}

.ql-font-calibri {
    font-family: Calibri, sans-serif;
}

.ql-font-georgia {
    font-family: Georgia, serif;
}

.ql-font-verdana {
    font-family: Verdana, sans-serif;
}

.ql-font-tahoma {
    font-family: Tahoma, sans-serif;
}

.ql-font-trebuchet {
    font-family: 'Trebuchet MS', sans-serif;
}

.ql-font-courier-new {
    font-family: 'Courier New', monospace;
}

.ql-font-comic-sans {
    font-family: 'Comic Sans MS', cursive;
}

.ql-font-garamond {
    font-family: Garamond, serif;
}

.ql-font-impact {
    font-family: Impact, sans-serif;
}

.ql-font-lucida-console {
    font-family: 'Lucida Console', monospace;
}

.ql-font-palatino {
    font-family: 'Palatino Linotype', serif;
}

.ql-font-century-gothic {
    font-family: 'Century Gothic', sans-serif;
}

.ql-font-source-sans-pro {
    font-family: 'Source Sans Pro', sans-serif;
}

.ql-font-roboto {
    font-family: 'Roboto', sans-serif;
}

.ql-font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

.ql-font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.ql-font-lato {
    font-family: 'Lato', sans-serif;
}

.ql-font-raleway {
    font-family: 'Raleway', sans-serif;
}


/* ============================================= */
/* Login styles */
/* ============================================= */

.auth-box {
    max-width: 400px;
    margin: auto;
    margin-top: 80px;
    padding: 30px;
    background: var(--bg-dark-card-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.auth-box .form-label,
h2,
p {
    color: var(--text-color);
}


.auth-box .form-control {
    background-color: var(--dark-white-color);
}


.auth_txt{
    color: var(--text-color);
}


.auth_txt:hover{
    color: var(--text-muted-color);
}


.google-btn {
    background-color: #f2f2f2;
    color: #333;
    border: none;
    height: 50px;
    width: 100%;
    font-size: 20px;
}


.google-btn:hover {
    color: var(--text-color);
    border: 1px solid #f2f2f2;
    height: 50px;
    width: 100%;
}


.google-btn img {
    vertical-align: text-bottom;
    width: 30px;
    height: 30px;
}


.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}


.divider span {
    color: var(--text-color);
    text-transform: uppercase;
}


.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}


.divider:not(:empty)::before {
    margin-right: .75em;
}


.divider:not(:empty)::after {
    margin-left: .75em;
} 

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* From Uiverse.io by mahiatlinux */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #1f1f1f;
    padding: 30px;
    width: 450px;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0 auto;
    /* Centering the form */
}


.log_cont {
    margin-top: 30px;
}


::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #aaa;
}

.form button {
    align-self: flex-end;
}

.flex-column>label {
    color: #f1f1f1;
    font-weight: 600;
}

.inputForm {
    border: 1.5px solid #333;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    transition: 0.2s ease-in-out;
    background-color: #2b2b2b;
}

.input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 100%;
    background-color: #2b2b2b;
    color: #f1f1f1;
}

.input:focus {
    outline: none;
}

.inputForm:focus-within {
    border: 1.5px solid #ffd700;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.flex-row>div>label {
    font-size: 14px;
    color: #f1f1f1;
    font-weight: 400;
}

.span {
    font-size: 14px;
    margin-left: 5px;
    color: #2d79f3;
    font-weight: 500;
    cursor: pointer;
}

.button-submit {
    margin: 20px 0 10px 0;
    background-color: #ffd700;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: pointer;
}

.button-submit:hover {
    border: solid 1px #fff;
    transition: 1.5;
}

.p {
    text-align: center;
    color: #f1f1f1;
    font-size: 14px;
    margin: 5px 0;
}

.btn_google {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 10px;
    border: 1px solid #333;
    background-color: #2b2b2b;
    color: #f1f1f1;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.btn_google:hover {
    border: 1px solid #ffd700;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider span {
    color: var(--text-color);
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
    margin-right: .75em;
}

.divider:not(:empty)::after {
    margin-left: .75em;
}

.divider span {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form {
        width: 90%;
        /* Adjust form width on tablet */
        padding: 20px;
    }

    .inputForm {
        height: 45px;
        /* Adjust height on smaller screens */
    }

    .button-submit {
        height: 45px;
        /* Adjust height of the button */
    }

    .btn_google {
        height: 45px;
        /* Adjust button height */
    }

    .flex-row {
        flex-direction: column;
        /* Stack elements vertically on smaller screens */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .form {
        width: 90%;
        /* Adjust form width on mobile */
        padding: 15px;
    }

    .inputForm {
        height: 40px;
        /* Adjust height further on mobile */
    }

    .button-submit {
        height: 40px;
        /* Adjust height of the button */
    }

    .btn_google {
        height: 40px;
        /* Adjust button height */
    }

    .flex-column>label {
        font-size: 16px;
        /* Adjust label font size */
    }

    .flex-row>div>label {
        font-size: 12px;
        /* Adjust label font size */
    }

    .span {
        font-size: 12px;
        /* Adjust span font size */
    }
}


/* =========== profile ============ */

.profile-avatar {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#c9a227,#ffd700);
    color: #111;
    font-size: 2rem;
}

.profile-stat {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
}

.profile-stat h3 {
    color: #ffd700;
    margin-bottom: .25rem;
}

.profile-section {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.section-title {
    margin-bottom: 1rem;
    color: #ffd700;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: .8rem;
    color: #fff;
}