body {
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Courier Prime", "Cairo", sans-serif !important;
    background-color: #f3f3f3;
    animation: fadeIn 1.5s ease-in-out;
}

.content-wrapper {
    display: initial;
}

.auth-login-box {
    align-items: center;
    padding: 25px;
    margin: 10px !important;
}

.auth-card {
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
    transform: scale(0.98);
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(145deg, #ffffff, #ececec);
}

.card-hr {
    background-color: #2e86c1;
    color: white;
}

.auth-card-header {
    background-color: #2c3e50;
    color: white;
    padding: 25px;
    border-bottom: none;
    position: relative;
}

.auth-card-header h1 {
    font-size: 2.2rem;
    margin: 0;
}

.auth-card-header h1 i {
    margin-left: 10px;
}

.welcome-text {
    font-size: 1.3rem;
    color: #333;
    transition: color 0.3s ease;
}

.welcome-text h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #d35400;
    animation: gradientText 3s ease-in-out infinite;
}

@keyframes gradientText {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.auth-form-control {
    border-radius: 35px;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #d35400;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.auth-form-control:focus {
    border-color: #d35400;
    box-shadow: 0 0 8px rgba(211, 84, 0, 0.25);
}

.input-group-text {
    background-color: #d35400;
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.input-group-text:hover {
    background-color: #c0392b;
}

.auth-text-danger {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .auth-card-header h1 {
        font-size: 1.5rem;
    }

    .welcome-text h2 {
        font-size: 1.3rem;
    }

    .auth-form-control {
        padding: 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .auth-card-header h1 {
        font-size: 1.1rem;
    }

    .welcome-text h2 {
        font-size: 1.1rem;
    }

    .auth-form-control {
        padding: 10px;
        font-size: 0.8rem;
    }
}

.access-text {
    font-size: 1.0rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInText 2s ease-in-out;
    font-weight: 500;
    transition: color 0.3s ease;
}

.access-text i {
    margin-inline-start: 8px;
    font-size: 1.0rem;
    color: #d35400;
    animation: bounce 1.5s infinite;
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

#nprogress {
    pointer-events: none;
}

#nprogress .bar {
    background: linear-gradient(90deg,
            rgba(255, 0, 128, 0.9),
            rgba(255, 102, 0, 0.9)) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    height: 3px !important;
    border-radius: 3px !important;
    box-shadow: 0px 0px 15px rgba(255, 94, 0, 0.6),
        0px 0px 25px rgba(255, 0, 128, 0.5) !important;
    animation: progress-bar-glow 1.5s ease-in-out infinite alternate !important;
}

@keyframes progress-bar-glow {
    0% {
        opacity: 0.85;
        box-shadow: 0px 0px 10px rgba(255, 94, 0, 0.7),
            0px 0px 20px rgba(255, 0, 128, 0.6);
    }

    100% {
        opacity: 1;
        box-shadow: 0px 0px 20px rgba(255, 94, 0, 0.9),
            0px 0px 30px rgba(255, 0, 128, 0.7);
    }
}
#nprogress .peg {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.8), 0 0 5px rgba(255, 102, 0, 0.8) !important;
    /* توهج حول الرأس */
    opacity: 1;

    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

#nprogress .spinner {
    display: block !important;
    position: fixed !important;
    z-index: 1031 !important;
    top: 12px !important;
    right: 12px !important;
}

#nprogress .spinner-icon {
    width: 20px !important;
    height: 20px !important;
    box-sizing: border-box !important;

    border: solid 3px transparent !important;
    border-top-color: rgba(255, 0, 128, 0.8) !important;
    border-left-color: rgba(255, 102, 0, 0.8) !important;
    border-radius: 50% !important;
    -webkit-animation: spinner-rotate 500ms linear infinite !important;
    animation: spinner-rotate 500ms linear infinite !important;
}

@-webkit-keyframes spinner-rotate {
    0% {
        -webkit-transform: rotate(0deg) !important;
    }

    100% {
        -webkit-transform: rotate(360deg) !important;
    }
}

@keyframes spinner-rotate {
    0% {
        transform: rotate(0deg) !important;
    }

    100% {
        transform: rotate(360deg) !important;
    }
}

.nprogress-custom-parent {
    overflow: hidden !important;
    position: relative !important;
}

.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
    position: absolute !important;
}
