html,
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    /* font-family: Georgia, "Times New Roman", Times, serif !important; */
    /* font-family: "Playfair Display", Georgia, serif !important; */
    /* font-family: "Cinzel", serif !important; */
    height: 100%;
    /* Ensure html and body take full height */
    margin: 0;
    /* Remove default margin */
    display: flex;
    flex-direction: column;
    /* background-image: url('../images/staticImgs/bg.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
}

.page-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%) !important;
}

.content-wrapper {
    flex-grow: 1;
    /* Make sure content-wrapper takes up the remaining space */
}

/* NAVBAR START */
.navbar {
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.animated-logo {
    position: relative;
    overflow: hidden;
}

.animated-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: transform 0.6s;
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.animated-logo:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.navbar-nav {
    align-items: center;
}

.nav-link-user-side {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px !important;
    margin: 0 5px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: transparent;
    border: 2px solid transparent;
}

.nav-link-user-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 62, 80, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link-user-side:hover::before {
    left: 100%;
}

.nav-link-user-side:hover {
    color: #ffffff !important;
    background: rgba(44, 62, 80, 0.8);
    border-color: rgba(44, 62, 80, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
}

.nav-link-user-side.active {
    color: #ffffff !important;
    background: rgba(44, 62, 80, 0.9);
    border-color: rgba(44, 62, 80, 0.7);
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.nav-item {
    margin: 0 3px;
}

/* Button styles for navbar */
.navbar .btn {
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.navbar .btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.navbar .btn-danger:hover {
    background: linear-gradient(135deg, #ff5252, #d32f2f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.navbar .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
}

.navbar .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Navbar toggler */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%) !important;
    background-size: 200% 200%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: gradientMoveAuto 4s ease-in-out infinite;
}

.navbar-toggler:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 201, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar collapse animation */
.navbar-collapse.show {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        padding: 15px;
        margin-top: 10px;
        backdrop-filter: blur(10px);
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-link-user-side {
        padding: 10px 15px !important;
        margin: 5px 0;
        text-align: center;
    }

    .navbar .btn {
        margin: 5px 0;
        width: 100%;
    }

    .animated-logo {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .nav-link-user-side {
        font-size: 0.9rem;
        padding: 8px 12px !important;
    }

    .logo {
        height: 35px;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Add subtle animation on page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.navbar {
    animation: fadeInDown 0.6s ease-out;
}

/* logo */
.logo {
    height: 40px;
}

/* NAVBAR END */

footer {
    background: #f8f9fa;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #ddd;
    /* Optional: Add a border for better separation */
}

/* inputs validations start */

input:hover {
    background-color: #eeeeee;
}

input:user-valid {
    border: 2px solid green;
}

input:user-valid+span::before {
    content: "✓";
    color: green;
}

input:user-invalid {
    border: 2px solid red;
}

input:user-invalid+span::before {
    content: "✖";
    color: red;
}

/* inputs validations end */

/* From Uiverse.io by omar-alghaish */
.loaderDiv {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    /* semi-transparent dark background */
    color: white;
    padding: 20px;
    border-radius: 8px;
    display: none;
    /* Initially hidden */
    z-index: 9999;
    /* Ensure it's on top of other content */
    text-align: center;
}

.loader-1 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid rgb(218, 203, 4);
    border-left-color: transparent;
    animation: animate_681 3s linear infinite;
    position: relative;
}

.loader-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid rgb(0, 119, 255);
    border-top-color: transparent;
    animation: animate_6810 0.9s linear infinite;
    position: absolute;
    margin: 5px;
}

.loader-3 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 5px solid rgb(30, 255, 0);
    border-right-color: transparent;
    animation: animate_681 2s linear infinite;
    position: absolute;
    margin: 15px;
}

.loader-4 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 5px solid rgb(194, 3, 92);
    border-bottom-color: transparent;
    animation: animate_6810 0.7s linear infinite;
    position: absolute;
    margin: 25px;
}

.messageRolling {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.messageRolling .rolling-text {
    display: inline-block;
    font-weight: bolder;
    animation: rollToLeft 10s linear infinite;
}

@keyframes rollToLeft {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes animate_6810 {
    0% {
        transform: rotate(360deg);
    }
}

@keyframes animate_681 {
    0% {
        transform: rotate(-360deg);
    }
}

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

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

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

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

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

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

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

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

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

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

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

/* Responsive design */

@media screen and (max-width: 991px) {

    /* Adjust logo size and padding for smaller screens */
    .logo {
        height: 60px;
    }
}

.error {
    color: #dc3545;
}

.success {
    color: #28a745;
}


li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-item {
    position: relative;
    padding: 10px 35px 10px 10px;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
    margin-bottom: 8px;
    border-radius: 4px;
}

ul {
    .custom-btn-close {
        position: absolute;
        right: 10px;
        top: 8px;
        background: transparent;
        border: none;
        font-size: 18px;
        color: #842029;
        cursor: pointer;
    }

}