:root {
    --primary-color: var(--ai-primary);
    --primary-hover-color: var(--ai-primary-hover);
    --secondary-color: var(--ai-accent);
    --accent-color: var(--ai-text-muted);
    --gray-color: var(--ai-surface-muted);
    --gray-color-200: var(--ai-border);
    --gray-color-300: var(--ai-border);
    --gray-color-500: #cbd5e1;
    --gray-color-800: var(--ai-text-secondary);
    --light-gray-color: var(--ai-border);
    --black-color: var(--ai-text);
    --white-color: var(--ai-surface);
    --bs-box-shadow: var(--ai-shadow);
    --bs-body-color: var(--ai-text);
    --bs-secondary-color: var(--ai-primary-soft);
    --bs-border-color: var(--ai-border);
    --bs-dropdown-link-active-bg: var(--ai-primary-soft);
    --light-color: var(--ai-surface-muted);
    --light-blue-color: var(--ai-primary-soft);
    --navbar-color-color: var(--ai-text);
    --swiper-theme-color: var(--ai-primary);
    --swiper-pagination-color: var(--ai-primary);
    --bs-btn-font-size: 1rem;
}

html {
  font-size: 14px;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.018);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/*----------Buttons, Links, Text, HR----------*/
.text-web-primary {
    color: var(--primary-color);
}

/* Custom CSS for Primary Button */
.btn-web-primary {
    background-color: var(--primary-color); /* Change background color */
    border-color: var(--white-color); /* Change border color */
    color: var(--white-color); /* Change text color */
    border-radius: 5px; /* Change border radius */
}

    .btn-web-primary:hover {
        background-color: var(--primary-hover-color); /* Change hover background color */
        border-color: var(--primary-color); /* Change hover border color */
        color: var(--white-color);
    }

.btn-web-plain {
    background-color: var(--white-color); /* Change background color */
    border-color: var(--gray-color); /* Change border color */
    color: var(--black-color); /* Change text color */
    border-radius: 5px; /* Change border radius */
}

    .btn-web-plain:hover {
        background-color: var(--gray-color); /* Change hover background color */
        border-color: var(--gray-color); /* Change hover border color */
        color: var(--black-color);
    }

.a-web-primary {
    color: var(--primary-color); /* Change text color */
}

    .a-web-primary:hover {
        color: var(--primary-hover-color); /* Change text color */
    }

.hr-web-primary {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--primary-color);
    width: 100%;
}

.hr-web-gray {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--gray-color-200);
    width: 100%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--ai-primary);
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.a-plain:link, .a-plain:visited, .a-plain:hover, .a-plain:active {
    text-decoration: none;
}

.no-wrap-text {
    white-space: nowrap;
}

.btn-min-70
{
    min-width:70px;
}

.login-with {
    border: solid 1px var(--gray-color-300);
}
/*----------End Buttons, Text, HR----------*/
/*----------Spinner----------*/
#spinner {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: url(../images/snake.gif) no-repeat center #fff;
    padding: 10px;
    font: normal 16px Tahoma, Geneva, sans-serif;
    border: 1px solid #666;
    z-index: 2000;
    opacity: 0.10;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    padding-top: 30vh;
}

/*----------End Spinner----------*/

/*----------Animated Boarders------------*/
*, *::before, *::after {
    box-sizing: border-box;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

.conic {
    position: relative;
    z-index: 0;
    margin: 20px;
    border-radius: 15px;
    overflow: hidden;
    padding: 2rem;
    &::before

{
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 0;
    /*background-image: conic-gradient(transparent, rgba(255, 215, 0, 1), transparent 30%);*/
    background-image: conic-gradient(transparent, rgba(6, 182, 212, 1), transparent 30%);
    animation: rotate 4s linear infinite;
}

&::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 3px;
    top: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #fff;
    border-radius: 15px;
}

}

.conic-demo::after {
    animation: opacityChange 5s infinite linear;
}

@keyframes opacityChange {
    50% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}
/*----------End Animated Boarders------------*/

/*----------Login & Registration--------------*/
body {
    font-family: 'Segoe UI', sans-serif;
}

.body-login {
    /*background: linear-gradient(to right top, #ACB6E5,#ACB6E5,#ACB6E5,#ACB6E5,#ACB6E5,#fff,#fff,#fff,#fff,#fff,#fff,#fff,#fff,#fff, #ACB6E5, #ACB6E5, #ACB6E5, #ACB6E5, #ACB6E5);*/
    /*background-image: linear-gradient(to right bottom, #ffdf79,#fff,#fff,#fff,#fff,#fff,#fff,#ffdf79);*/
    background-image: linear-gradient(to right bottom, #4f46e5,#fff,#fff,#fff,#fff,#fff,#fff,#4f46e5);
    overflow: auto;
}

.main-logo {
    position:absolute;
    margin:30px;
}

.login-wrapper, .signup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.logo {
    text-align: center;
    margin-bottom: 10px;
}

    .logo img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-top: 0px;
        color: var(--ai-text);
    }

.login-card, .signup-card {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background-color: rgba(255,255,255,0.1);
    border: solid 2px var(--ai-primary-soft);
}

    .login-card h4 {
        text-align: center;
        margin-bottom: 30px;
        font-weight: 600;
        color: #333;
    }

    .signup-card h4 {
        text-align: center;
        margin-bottom: 0px;
        font-weight: 600;
        color: #333;
    }

.form-check-label {
    font-size: 0.9rem;
}

.actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.login-footer {
    margin-top: 15px;
    font-size: 0.85rem;
}

.login-links {
    font-size: 0.85rem;
    margin: 0 8px;
}

.footer-div {
    text-align: center;
    margin-bottom: 0px;
    font-size: 0.85rem;
    color: var(--ai-text-muted);
}

footer {
    font-size: 0.85rem;
    color: var(--ai-text-muted);
    padding:5px;
}
/*----------End Login & Registration--------------*/
/*----------Main Layout & Sidebar--------------------*/
.wrapper-login {
    /*display: flex;*/
    height: 100vh;
    width: 100%;
}

.wrapper-dashboard {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Prevents whole-page/window horizontal scrolling */
}

.alert {
    margin-top: 10px;
}

.main-login1 {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: var(--ai-surface);
    margin: 5px;
    margin-top: 15px;
    min-height: 93vh;
    max-height: 93vh;
}
/*----------End Dashboard & Sidebar----------------*/

/*----------headers---------------------------------*/

h3{
font-size:18px;
}

h4 {
    font-size: 17px;
}

/*----------End Headers---------------------------------*/

/*--------------------Login Providers Box--------------*/
/* 1. LAYOUT: Container for the three boxes (Inline/Side-by-Side) */
.providers-container {
    display: flex;
    gap: 20px; /* Adds 20px space between each box */
    justify-content: center; /* Centers the whole group horizontally */
    padding: 0px;
}

/* 2. BOX STYLING: Square Shape and Centering */
.provider-box {
    /* Make it square */
    width: 80px;
    height: 90px;
    /* Appearance */
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    box-shadow: var(--ai-shadow-sm);
    background-color: var(--ai-surface);
    cursor: pointer; /* Optional: indicates interactivity */
    /* Flexbox for Content Centering */
    display: flex;
    flex-direction: column; /* Stacks Icon (or placeholder) and Name */
    align-items: center; /* Centers items horizontally */
    justify-content: center; /* Centers items vertically within the box */
}

    .provider-box:hover {
        background-color: var(--gray-color);
    }

/* 3. ICON STYLING (Placeholder for demonstration) */
.provider-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px; /* Space between icon and text */
    line-height: 32px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
}

/* 4. TEXT STYLING */
.provider-box .box-name {
    font-family: var(--ai-font);
    font-size: 12px;
    color: var(--ai-text-secondary);
    padding:5px;
}

/* 5. Custom Icon Colors (Optional, for placeholders) */
.google-icon {
    background-color: #FABB05;
    color: white;
}

.apple-icon {
    background-color: #A2AAAD;
    color: white;
}

.microsoft-icon {
    background-color: #0078D4;
    color: white;
}

@media (max-width: 576px) {
    .provider-box {
        width: 80px;
        height: 80px;
    }

    .provider-icon {
        width: 20px;
        height: 20px;
    }

    .provider-box .box-name {
        font-size: 10px;
        padding: 5px;
    }
}
/*---------------------End-----------------------------*/

/*---------------------End-----------------------------*/

/* Custom Popup Style */
/* Fullscreen Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dim the background */
    z-index: 1049; /* Below the popup but above other elements */
}

.custom-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 300px;
    background: var(--ai-surface);
    border: 1px solid var(--ai-border);
    border-radius: var(--ai-radius);
    box-shadow: var(--ai-shadow);
    max-height: 90vh;
    min-height: 40vh;
    height: auto;
    width: 80vw;
}

.popup-header {
    position: sticky; /* Keep the header fixed within the popup */
    top: 0;
    padding: 15px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid var(--primary-color);
}

.popup-body {
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 79vh;
    min-height: 30vh;
    height: auto;
    width: 79vw;
}

.close-btn {
    cursor: pointer;
    font-size: 24px;
    color: var(--ai-text-muted);
}
/*---------------------End-----------------------------*/
