@import url("../fonts.css");
@import url("../root.css");

/* General style declaration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--Popins-Regular);
}

.loaderGlobal {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #27B348;
    width: 120px;
    height: 120px;
    animation: spin 1.5s linear infinite;
    margin: auto;
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =======================App Layout ================= */
.admin-app-container {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 0.5rem;
    padding: 0.2rem;
    width: 100vw;
    height: 100vh;
    background-image: url("../../../assets/images/background-2.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.app-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* =======================App Layout || Header ================= */
.app-content .header-container {
    position: sticky;
}

.app-content .header-container .navbar {
    background-color: var(--greenColor) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 10px 10px 0 0;
}

.app-content .header-container .navbar nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-content .header-container .navbar .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-content .header-container .navbar .logo-container .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whiteColor);
    border-radius: 10px;
    padding: 0.8rem 0.5rem;
}

.app-content .header-container .navbar .logo-container .logo-desc {
    display: flex;
    flex-direction: column;
    line-height: 16px;
}

.app-content .header-container .navbar .logo-container .logo-desc p {
    color: var(--fadeWhite);
    font-size: 20px;
}

.app-content .header-container .navbar .logo-container .logo-desc span {
    color: var(--fadeWhite);
    font-size: 14px;
    font-weight: bold;
}

.app-content .header-container .navbar .mobile-menu {
    display: none;
}

@media screen and (max-width: 1040px) {
    .app-content .header-container .navbar {
        padding: 0.6rem;
    }

    .app-content .header-container .navbar .logo-container .logo-desc p {
        color: var(--fadeWhite);
        font-size: 17px;
    }

    .app-content .header-container .navbar .logo-container .logo-desc span {
        color: var(--fadeWhite);
        font-size: 11px;
        font-weight: bold;
    }

    .app-content .header-container .navbar .mobile-menu {
        display: flex;
    }

    .app-content .header-container .navbar .mobile-menu img {
        height: 30px;
    }
}

/* =======================Auth Main Layout || Sigin  ================= */
.container {
    display: flex;
    gap: 1rem;
    padding: 0 7rem;
    overflow-y: scroll;
    height: 100%;
}

.container::-webkit-scrollbar {
    display: none;
}

.container::-webkit-scrollbar-thumb {
    display: none;
}

.auth-header {
    display: flex;
    flex-direction: column;
    padding: 1rem 7rem;
}

.auth-header h1 {
    color: var(--blackColor);
    font-size: 30px;
}

.auth-header p {
    color: var(--labelColor);
    font-size: 13px;
}

/* Left Side Image */
.image-section {
    width: 45%;
}

.image-section img {
    height: 100%;
    width: 100%;
    border-radius: 14px;
}

/* Right Side Form */
.form-section {
    width: 55%;
    border: 1px solid #676767;
    display: flex;
    border-radius: 14px;
    background-color: #fafafa61;
    padding: 2rem;
}

.form-box {
    width: 100%;
    overflow-y: scroll;
}

.form-box::-webkit-scrollbar {
    display: none;
}

.form-box::-webkit-scrollbar-thumb {
    display: none;
}

.form-box h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
    color: var(--blackColor);
}

.form-box p {
    font-size: 14px;
    color: var(--labelColor);
}

.form-box form {
    margin-top: 5rem;
}

.form-box label {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    color: var(--textColor);
}

.form-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.form-box .note {
    font-size: 10px;
    color: #777;
    margin-top: -14px;
    margin-bottom: 15px;
}

.form-box .contrain-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-box .contrain-container .remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    text-wrap: nowrap;
    border: 1px solid #1172954a;
    border-radius: 10px;
    padding: 0.5rem;
}

.form-box .contrain-container .remember-me input {
    margin-bottom: 0;
}

.form-box .contrain-container .remember-me p {
    font-size: 12px;
}

.form-box .contrain-container a {
    font-size: 14px;
    text-decoration: none;
    color: var(--thickOrange);
    font-weight: 500;
}

.form-box button {
    width: 100%;
    padding: 12px;
    background: var(--greenColor);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 500;
    margin-top: 1.5rem;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s ease;
}

.form-box button.resent {
    background: transparent;
    border: 1px solid var(--lightBlue);
    border-radius: 6px;
    color: var(--greenColor);
    margin-top: 10px;
}

.form-box .footer-text {
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
    color: #555;
}

.form-box .footer-text a {
    color: var(--greenColor);
    text-decoration: none;
    font-weight: bold;
}

.form-box .footer-text a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        overflow-y: scroll;
        height: 100%;
    }

    .auth-header {
        padding: 0;
    }

    /* Left Side Image */
    .image-section {
        width: 100%;
        display: none;
    }

    /* Right Side Form */
    .form-section {
        width: 100%;
        border: 1px solid #676767;
        display: flex;
        margin-top: 1rem;
        border-radius: 14px;
        background-color: #fafafa61;
        padding: 1rem;
    }
}

/* =======================Auth Main Layout || OTP  ================= */

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-inputs input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border 0.2s;
}

.otp-inputs input:focus {
    border: 2px solid #f89b1c;
}

.timer {
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-verify {
    background: #f89b1c;
    color: #fff;
    border: none;
}

.btn-verify:hover {
    background: #e28713;
}

.btn-resend {
    background: #eaf7ff;
    border: 1px solid #0ea5e9;
    color: #0ea5e9;
}

.btn-resend:hover {
    background: #d4f0ff;
}

/* =======================App Layout || App Content================= */
.app-content .app-content-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
    padding: 0.8rem 1.5rem;
}

.app-content .app-content-container::-webkit-scrollbar {
    height: 8px;
    width: 5px;
}

.app-content .app-content-container::-webkit-scrollbar-thumb {
    background-color: var(--labelColor);
}

@media screen and (max-width: 1040px) {
    .app-content .app-content-container {
        padding: 0.8rem 0.6rem;
    }
}
