/*
    Table of Contents

    Name                 : Mophy
    Author               : DexignZone
    Author Portfolio     : https://themeforest.net/user/dexignzone/portfolio
    


    Table of Sass Contents

    1. Abstracts
        _bs-custom
        _inheritance
        _maps
        _mixin
        _variable

    2. bootstrap 
        -Here goes all official bootstrap scss files

    3. Global/Base
        _color
        _custom-grid
        _fonts
        _helper
        _reset

    4. layout
        +footer
        +header
        +rtl
        +sidebar
        +tables
        +theme
        +version-dark

    5. Conponents
        +app
        +charts
        +forms
        +map
        +uc
        +ui
        +widget

    6. Page
        _index-1
        _page-error
        _page-register
        _page-signin
        _page-user-lock
        _page-user-lock

*/
/*$primary  : #7356f1 !default;*/
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

/* Left Panel Styles */
.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #2a5fd2 0%, #2a5eee 25%, #3730a3 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-elements {
    position: absolute;
    inset: 0;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.bg-shape-1 {
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.2));
    animation: pulse 4s ease-in-out infinite;
}

.bg-shape-2 {
    top: 25%;
    right: -128px;
    width: 384px;
    height: 384px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(168, 85, 247, 0.15));
    animation: pulse 4s ease-in-out infinite 1s;
}

.bg-shape-3 {
    bottom: -128px;
    left: 25%;
    width: 288px;
    height: 288px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.2));
    animation: pulse 4s ease-in-out infinite 2s;
}

.floating-dot {
    position: absolute;
    border-radius: 50%;
    animation: bounce 2s ease-in-out infinite;
}

.dot-1 {
    top: 80px;
    left: 64px;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    animation-delay: 0.3s;
}

.dot-2 {
    top: 160px;
    right: 96px;
    width: 24px;
    height: 24px;
    background: rgba(34, 211, 238, 0.3);
    animation-delay: 0.7s;
}

.dot-3 {
    bottom: 128px;
    left: 128px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
    animation-delay: 1s;
}

.dot-4 {
    bottom: 192px;
    right: 64px;
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.4);
    animation-delay: 0.5s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.left-content {
    position: relative;
    z-index: 0;
    text-align: center;
    color: white;
    padding: 48px;
}

.illustration-container {
    margin-bottom: 48px;
}

.illustration {
    position: relative;
    width: 320px;
    height: 256px;
    margin: 0 auto;
}

.login-card {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 32px;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.login-card:hover {
    transform: rotate(0deg);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    border-radius: 12px;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    color: white;
}

.progress-bar {
    height: 12px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 6px;
    width: 80%;
    margin: 0 auto 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 16px;
}

.password-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.password-dots .dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.password-dots .dot:nth-child(1) { animation-delay: 0ms; }
.password-dots .dot:nth-child(2) { animation-delay: 200ms; }
.password-dots .dot:nth-child(3) { animation-delay: 400ms; }
.password-dots .dot:nth-child(4) { animation-delay: 600ms; }
.password-dots .dot:nth-child(5) { animation-delay: 800ms; }
.password-dots .dot:nth-child(6) { animation-delay: 1000ms; }

.floating-element {
    position: absolute;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.element-1 {
    top: -24px;
    right: -24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: rotate(12deg);
    color: white;
}

.element-1:hover {
    transform: rotate(6deg);
}

.element-2 {
    bottom: -16px;
    left: -16px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.element-3 {
    top: 48px;
    right: -48px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.element-4 {
    bottom: 32px;
    left: -32px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 8px;
    animation: bounce 3s ease-in-out infinite;
}

.welcome-text {
    margin-bottom: 48px;
    font-family: 'geist', sans-serif;
}

.welcome-text h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.welcome-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #a5f3fc, #bae6fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.7;
}

.welcome-text p {
    font-size: 1.30rem;
    font-weight: 500;
    color: #d3e0ee;
    margin-bottom: 12px;
    font-family: 'geist', sans-serif;
}

.divider {
    width: 96px;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
    border-radius: 2px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    color: white;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.facebook {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.twitter {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.linkedin {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.footer {
    color: #DBEAFE;
    font-size: 0.875rem;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
}

.footer-link {
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.separator {
    margin: 0 2px;
    color: #DBEAFE;
}

/* Right Panel Styles */
.right-panel {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    zoom: 120%;
}

.right-content{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0px 50px;
}

.right-background {
    position: absolute;
    inset: 0;
}

.right-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

/* .logo-section {
    width: 200px;
    height: 200px;
    object-fit: contain;
    object-position: center;
} */



.shape-1 {
    top: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.1));
}

.shape-2 {
    bottom: 0;
    right: 0;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(168, 85, 247, 0.08));
}

.ping-dot {
    position: absolute;
    border-radius: 50%;
    background: #3b82f6;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot.dot-1 {
    top: 50%;
    right: 32px;
    width: 8px;
    height: 8px;
}

.ping-dot.dot-2 {
    top: 33.333333%;
    right: 96px;
    width: 4px;
    height: 4px;
    background: #06b6d4;
    animation-delay: 1s;
}

.right-content {
    position: relative;
    z-index: 0;
    
}

.form-container {
   width: 100%;
   max-width: 28rem;;
}

.logo-section {
    text-align: center;
    margin-bottom: 0px;
    
    
}

.logo-container{
    width: 100%;
    overflow: hidden;
}


.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
}

.logo-icon {
    display: flex; 
    justify-content: center; 
    align-items: center;
    height: 150px; 
    margin:auto; 
  
}

.logo-text {
    display: flex;
    align-items: baseline;
}



.pg {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 13.5px;
    font-weight: 600;
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    font-family: "Geist", sans-serif;
}

.logo-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    border-radius: 1px;
    margin: 0 auto;
}

.signin-header {
    text-align: center;
    margin-bottom: 40px;
    font-family: "Geist", sans-serif;
}

.signin-header h3 {
    font-size: 20px;
    font-weight: 650;
    color: #1f2937;
    margin-bottom: 5px;
}

.signin-header p {
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-size: 14.3px;
    font-family: "Geist", sans-serif;
    font-weight: 600;
    color: rgb(29 78 216 / var(--tw-text-opacity, 1));
    letter-spacing: 0.025em;
    margin-bottom: 12.5px;
}

.input-group {
    position: relative;
}

.input-group input[type="email"] {
  width: 100%;
  padding-left: 40px; 
  box-sizing: border-box;
}

.input-group .fa-envelope {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  z-index: 3;
}

.input-group input[type="password"],
.input-group input[type="text"] {
  width: 100%;
  padding-left: 40px; /* space for lock icon */
  padding-right: 40px; /* space for eye icon */
  box-sizing: border-box;
}

.input-group .fa-lock {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  z-index: 2;
}

.input-group .toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.input-group .toggle-password i {
  color: #999;
  font-size: 16px;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    transition: color 0.2s ease;
}

.input-group:focus-within .input-icon {
    color: #3b82f6;
}

.input-group input {
    width: 100%;
    height: 56px;
    padding: 0 48px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 14px;
    font-family: "Geist", sans-serif;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.input-group input:hover {
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #3b82f6;
}

.signin-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Geist", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    zoom: 1;
    margin-top: 14px;
    margin-bottom: 10px;
}

.signin-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.signin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.additional-links {
    text-align: center;
    margin-bottom: 32px;
}

.forgot-password {
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
    font-family: 'geist', sans-serif;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    display: inline-block;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.signup-link {
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
    font-size: 14px;
    font-family: 'geist', sans-serif;
    
}

.signup-link a {
    color: rgb(37 99 235 / var(--tw-text-opacity, 1));
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.signup-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 0.75rem;
}

.security-badge svg {
    color: #10b981;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */

@media (max-width: 1000px){
     html, body{
        overflow: hidden;
    }

    .container{
        height: 100%;
        width: 100%;
    }

    .right-panel{
        width: 100%;
    }

    .right-content{
        display: grid;
        margin: auto;
        width: 100%;
    }

    .left-panel{
        display: none;
    }

    .form-container{
        max-width: 130%;
        min-width: 100%;
    }

    .input-group input{
        font-size: 12px;
    }
}


@media (max-width: 768px) {
     html, body{
        overflow: hidden;
    }

    .logo-icon {
        height: 60px;
    }

    .container {
        flex-direction: column;
    }
    
    .right-panel {
        flex: none;
    }
    
    .left-panel {
        display: none;
    }
    
    .right-panel {
        min-height: 60vh;
        padding: 24px;
    }
    
    /* .welcome-text h1 {
        font-size: 2rem;
    }
    
    .welcome-text h2 {
        font-size: 1.75rem;
    } */
    
    .illustration {
        width: 240px;
        height: 192px;
    }
    
    .form-container {
        max-width: 100%;
    }

    .shape-1{
        display: none;
    }

    .shape-2{
        display:none;
    }
}

@media (max-width: 600px){
    html, body{
        overflow: hidden;
    }
    .container{
        height: 100%;
        width: 100%
    }

    .form-container{
        height: 100dvh;
        margin: auto;
        width: 100%;
    }

    .right-content{
        padding: 5px 0px 55px 0px;
        margin: auto;
        height: 100dvh;
        overflow: hidden;
    }

    .right-panel{
       height: 100dvh;
       
    }

    .right-background{
        display: none;
    }

    .shape-1{
        display: none;
    }

    .shape-2{
        display: none;
    }
}

/* popup */
.popup {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeInAnimation ease 0.5s;
    justify-content: center;
    align-items: center;

}
.popup-content {
    position: absolute;
    color: black;
    background-color: #fefefe;
    z-index: 1000 !important;
    border: 1px solid #888;
    max-width: 60%;
    padding: 15px 10px;
    max-height: 700px;
    overflow-y: scroll;
    animation: dropDown 0.5s ease forwards;
}
.popup-content::-webkit-scrollbar {
    display: none;
}

@media screen and (max-width: 990px) {
    .popup-content{
        max-width: 90%;
    }
}

@keyframes dropDown {
    0% {
        opacity: 0; 
        transform: translateY(-100%);
    }
    50% {
        opacity: 1; 
        transform: translateY(20px); 
    }
    100% {
        opacity: 1; 
        transform: translateY(0); 
    }
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transform: translate(-5px,-10px)
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.card-body{
    padding: 1.5rem;
}

hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1rem 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #212529;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 0;
    padding: 15px;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.btn {
    display: inline-block;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.w-100 { width: 100%; }
