/* Base styling for both light and dark themes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none; 
    -webkit-tap-highlight-color: transparent; 
    font-family: 'Comfortaa', Arial, sans-serif;
}

/* Import Laroza Font */
@font-face {
    font-family: 'Laroza';
    src: url('../fonts/Laroza/Laroza.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Import Comfortaa Fonts*/
@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa/Comfortaa-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa/Comfortaa-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa/Comfortaa-Light.ttf') format('truetype');
    font-weight: 300;
}

/* Apply the font to the logo */
.cursive {
    font-family: 'Laroza', cursive !important; 
    font-size: 46px !important;
    color: white;
    text-align: center;
    flex: 1;
}

tag{
    font-family: 'Laroza', cursive !important; 
}

/* Light Theme Colors */
:root {
    --primary-color: #F7A81B; 
    --secondary-color: #17458F;

    /* Accent Colors */
    --azure: #0176BF;
    --sky-blue: #00A2E0;
    --cranberry: #D41367;
    --cardinal: #E02927;
    --turquoise: #00ADBB;
    --orange: #FF7600;
    --lime-green: #A4C639;
    --yellow: #FFEB3B;
    --purple: #9C27B0;
    --pink: #E91E63;
    --indigo: #3F51B5;

    /* Neutral Colors */
    --white: #FFFFFF;
    --charcoal: #54565A;
    --slate: #657F99;
    --pewter: #898A8D;
    --platinum: #BFB7B0;
    --light-gray: #E5E5E5;
    --gray: #CCCCCC;
    --dark-gray: #A9A9A9;
    --black: #000000;

    /* Background Colors */
    --mist: #9BA4B4;
    --cloud: #D6D1CA;
    --silver: #D0CFCD;
    --light-background: #F4F4F9;
    --light-surface: #FFFFFF;

    /* Background and Text */
    --background-color: var(--light-background);
    --surface-color: var(--light-surface);
    --text-color: var(--charcoal);
    --secondary-text-color: var(--slate);
    --link-color: var(--primary-color);
}

/* Dark Theme Colors */
body.dark-mode {
    --primary-color: #F7A81B; 
    --secondary-color: #17458F;

    /* Accent Colors */
    --azure: #0067C8;
    --sky-blue: #00A2E0;
    --cranberry: #D41367;
    --cardinal: #E02927;
    --turquoise: #00ADBB;
    --orange: #FF7600;
    --lime-green: #A4C639;
    --yellow: #FFEB3B;
    --purple: #9C27B0;
    --pink: #E91E63;
    --indigo: #3F51B5;

    /* Neutral Colors */
    --white: #FFFFFF;
    --charcoal: #54565A;
    --slate: #657F99;
    --pewter: #898A8D;
    --platinum: #BFB7B0;
    --light-gray: #E5E5E5;
    --gray: #CCCCCC;
    --dark-gray: #A9A9A9;
    --black: #000000;

    /* Dark Mode Specific Colors */
    --dark-background: #121212;  
    --dark-surface: #1E1E1E;     
    --dark-accent: #BB86FC;    
    --dark-text: #E0E0E0;       
    --dark-text-secondary: #A4A4A4;
    --dark-divider: #666666;
    --dark-link-color: #8AB4F8;
    --dark-hover-color: #333333;

    /* Background and Text */
    --background-color: var(--dark-background);
    --surface-color: var(--dark-surface);
    --text-color: var(--dark-text);
    --secondary-text-color: var(--dark-text-secondary);
    --link-color: var(--dark-link-color);
}

/* General page styling */
body {
    height: 100vh;
    width: 100vw;
    font-family: 'Comfortaa', Arial, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    scrollbar-width: thin; 
    scrollbar-color: #888 #f1f1f1; 
}

::-webkit-scrollbar {
    width: 4px; 
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    color: var(--text-color);
}

/* Paragraphs */
p {
    font-family: 'Comfortaa', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
}

/* Links */
a {
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
button {
    font-family: 'Comfortaa', sans-serif;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: var(--primary-color);
}

/* Surfaces (cards, containers, etc.) */
.container {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Divider */
hr {
    border: 1px solid var(--dark-divider);
    margin: 20px 0;
}

/* Buttons */
button {
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: var(--primary-color);
}

/* index Screen Container */
.index-screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

/* Background Image */
.index-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/arts/index.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Overlay to dim the background */
.index-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

body.dark-mode .index-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

.junction-screen {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

/* Background Image */
.junction-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/arts/junction.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Overlay to dim the background */
.junction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

body.dark-mode .junction-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Centered GIF */
.centered-gif {
    position: relative;
    z-index: 3;
}

.centered-gif img {
    width: 200px;
    height: 200px;
}

/* Bottom Text */
.index-bottom-text {
    position: absolute;
    bottom: 50px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 3;
}

/* Onboarding container */
.onboarding-container {
    position: relative;
    display: flex;
    height: 100vh;
    width: 100vw;
    z-index: 1; 
}

.onboarding-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .onboarding-container::before {
    background-image: url('../images/background-white.png');
}

/* Image Section */
.onboarding-image-section {
    position: relative;
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image styling */
.onboarding-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* Overlay on top of image */
.onboarding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

body.dark-mode .onboarding-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Content Section */
.onboarding-content-section {
    flex-basis: 50%;
    /* background-color: var(--surface-color); */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 40px;
}

/* Onboarding content (centered in the section) */
.onboarding-content {
    max-width: 400px;
    text-align: center;
    z-index: 2;
    position: relative;
}

/* Title Styling */
.onboarding-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Description Styling */
.onboarding-description {
    font-size: 14px;
    color: var(--text-color);
}

/* Navigation Buttons aligned to the bottom +50px */
.onboarding-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
}

/* Button Styling */
.onboarding-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    min-width: 100px;
    background-color: var(--primary-color);
    color: var(--white);
    text-transform: capitalize;
}

.secondary-color-btn {
    background-color: var(--secondary-color);
    color: var(--white);
}

.secondary-color-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Indicator Dots */
.onboarding-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.onboarding-indicator span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: var(--gray);
    border-radius: 50%;
}

.onboarding-indicator .active {
    background-color: var(--primary-color);
}

/* Settings & Closing Button */
.closing-button, 
.settings-button {
    position: absolute;
    top: 0;
    width: 60px;
    height: 60px;
    color: var(--white);
    cursor: pointer;
    z-index: 3;
    font-size: 24px;
}

.closing-button {
    background-color: var(--cardinal);
    padding: 2px 12.5px 12.5px 2px;
    border-bottom-right-radius: 75px;
    left: 0;
    opacity: 50%;
}

.settings-button {
    background-color: var(--primary-color);
    padding: 2px 2px 12.5px 12.5px;
    border-bottom-left-radius: 75px;
    right: 0;
}

/* Modal Styling */
.settings-modal {
    position: fixed;
    bottom: -100%;
    width: 70%;
    left: 15%;
    display: flex;
    background-color: var(--surface-color);
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 40px 40px 0 0;
    transition: bottom 0.3s ease-in-out;
    z-index: 4;
    justify-content: center;
}

.settings-modal.active {
    bottom: 0;
}

.settings-modal-content {
    width: 90%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Styling for rounded button inputs */
.settings-modal-content select {
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    border: 1px solid var(--gray);
    outline: none;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 fill%3D%22none%22 stroke%3D%22currentColor%22 stroke-width%3D%221.5%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M6 9l6 6 6-6%22/%3E%3C/svg%3E');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: right 10px center; 
}

/* Adjust background-position for RTL */
.settings-modal-content[dir="rtl"] select {
    background-position: left 10px center; 
    direction: rtl;
}

/* Adjust background-position for LTR */
.settings-modal-content[dir="ltr"] select {
    background-position: right 10px center; 
    direction: ltr;
}

/* Responsive for Medium and Large Screens */
@media (min-width: 768px) {
    .onboarding-container {
        flex-direction: row;
    }

    .onboarding-content-section {
        padding: 60px;
    }

    .onboarding-title {
        font-size: 32px;
    }

    .onboarding-description {
        font-size: 18px;
    }
}

/* Responsive for Small Screens */
@media (max-width: 767px) {
    /* .onboarding-container {
        flex-direction: column;
    }

    .onboarding-image-section,
    .onboarding-content-section {
        flex-basis: 50%;
    }

    .onboarding-content-section {
        align-items: start;
    }

    .onboarding-content{
        padding-top: 50px;
    }

    .onboarding-title {
        font-size: 24px;
    }

    .onboarding-description {
        font-size: 16px;
    } */
}

/* Responsive for Small Screens (max-width: 767px) */
@media (max-width: 767px) {
    .onboarding-container {
        flex-direction: column;
    }

    .onboarding-content-section {
        align-items: stretch; /* Allow sections to take full width */
        display: flex;
        flex-direction: column; /* Ensure sections stack vertically */
        justify-content: space-between; /* Space out title, description, and buttons */
        padding: 20px; /* Adjust padding for small screens */
    }

    .onboarding-content {
        flex: 1; /* Allow content to grow and take available space */
        display: flex;
        flex-direction: column; /* Stack content vertically */
        align-items: center; /* Center align items */
        text-align: center;
        padding: 0;
    }

    /* Title at the top */
    .onboarding-title {
        margin: 0;
        padding: 20px 0 20px 0;
        text-align: center; /* Center the title */
    }

    /* Description in the center */
    .onboarding-description {
        margin: 0 auto; /* Center description horizontally */
        text-align: center;
        padding: 20px 0; /* Add padding above and below the description */
        font-size: 14px; /* Adjust font size for small screens */
    }

    /* Navigation buttons at the bottom */
    .onboarding-nav-buttons {
        position: relative;
        margin-top: auto;
        display: flex;
        justify-content: space-between; /* Space buttons evenly */
        align-items: center;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px 0; /* Add spacing above and below buttons */
    }

    /* Adjust button sizes for small screens */
    .onboarding-btn {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 20px;
        min-width: 80px; /* Smaller min-width for buttons */
    }

    /* Adjust indicator dot sizes */
    .onboarding-indicator {
        margin: 0 auto; /* Center the dots */
    }

    .onboarding-indicator span {
        width: 8px;
        height: 8px;
        margin: 0 3px; /* Smaller spacing between dots */
    }
}


@media (max-width: 437px) {
    .onboarding-content {
        padding-top: 0px;
    }

    .onboarding-description {
        font-size: 13px;
    }

    .onboarding-btn {
        min-width: auto;
    }

    .onboarding-indicator span {
        width: 5px;
        height: 5px;
        margin: 0 2.5px;
    }
}

 /* Buttons Container */
 .auth-buttons {
    margin-top: 90px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Sign In Button (gradient from primary to cranberry) */
.auth-btn-signin {
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
    background: linear-gradient(to right, var(--primary-color), var(--cranberry));
    border: none;
    border-radius: 30px;
    width: 240px;
    cursor: pointer;
    overflow: hidden;
}

/* Register Button (outlined with primary color) */
.auth-btn-register {
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #ffffff69;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    width: 240px;
    cursor: pointer;
    overflow: hidden;
}

.auth-btn-register:hover {
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

/* Universal Input Styling */
input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 16px;
    border: 2px solid var(--mist);
    border-radius: 30px;
    outline: none;
    box-sizing: border-box;
    font-family: 'Comfortaa', sans-serif;
}

input:focus,
.extra-section-content select:focus  {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

/* Logo */
.logo {
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--cranberry));
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Sign In Screen Styling */
.signin-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.signin-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .signin-container::before {
    background-image: url('../images/background-white.png');
}

/* Form Container */
.signin-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.signin-form h2 {
    margin-bottom: 30px;
    color: var(--charcoal);
    font-size: 24px;
}

/* Forgot password and Sign Up Links */
.signin-links {
    margin-top: 20px;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
}

.forgot-password {
    margin-top: 10px;
    font-size: 14px;
    color: var(--primary-color);
    text-align: center;
}

.forgot-password a,
.signin-links a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
}

.forgot-password a:hover,
.signin-links a:hover {
    text-decoration: underline;
}

/* OR separator */
.signin-or {
    margin: 20px 0;
    font-size: 14px;
    color: var(--gray);
}

/* Social sign-in buttons */
.btn-social-auth {
    background-color: var(--dark-gray) !important;
    padding: 15px;
    border: none;
    border-radius: 50%; 
    cursor: pointer;
    width: 60px; 
    height: 60px;
    margin: 0 10px; 
    font-size: 24px; 
    color: var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease; 
}

.btn-social-auth:hover {
    background-color: var(--dark-gray); 
}

/* Icon style inside button */
.btn-social-auth i {
    margin-right: 0;
    font-size: 24px;
}

/* Container to center the buttons horizontally */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signin-form {
        padding: 20px;
        width: 90%;
    }
}

/* Register Screen Styling */
.register-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.register-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .register-container::before {
    background-image: url('../images/background-white.png');
}

/* Form Container */
.register-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.register-form h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

/* Sign in Link */
.signin-link {
    margin-top: 20px;
    font-size: 14px;
    color: var(--primary-color);
}

.signin-link a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-color);
}

.signin-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-form {
        padding: 20px;
        width: 90%;
    }
}

div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line] {
    background-color: var(--cardinal) !important;
}

/* Recover Password Screen Styling */
.recover-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.recover-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .recover-container::before {
    background-image: url('../images/background-white.png');
}

/* Form Container */
.recover-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.recover-form h2 {
    margin-bottom: 30px;
    color: var(--charcoal);
    font-size: 24px;
}

/* Recover Links */
.recover-links {
    font-size: 14px;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.recover-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.recover-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recover-form {
        padding: 20px;
        width: 90%;
    }
}


/* Reset Password Screen Styling */
.reset-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.reset-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .reset-container::before {
    background-image: url('../images/background-white.png');
}

/* Form Container */
.reset-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.reset-form h2 {
    margin-bottom: 30px;
    color: var(--charcoal);
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reset-form {
        padding: 20px;
        width: 90%;
    }
}

/* Verify Screen Styling */
.verify-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.verify-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .verify-container::before {
    background-image: url('../images/background-white.png');
}

/* Form Container */
.verify-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.verify-form h2 {
    margin-bottom: 20px;
    color: var(--charcoal);
    font-size: 22px;
}

/* Instructions */
.instructions {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--secondary-text-color);
}

/* Resend Link */
.resend-link {
    margin-top: 20px;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .verify-form {
        padding: 20px;
        width: 90%;
    }
}

.complete-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 0;
    z-index: 1; 
}

.complete-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-black.png');
    background-size: contain;
    background-position: center;
    opacity: 0.035; 
    z-index: -1; 
}

.dark-mode .complete-container::before {
    background-image: url('../images/background-white.png');
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        width: 90%;
    }
}

.swal2-error{
    border-color: var(--cardinal) !important;
    color: var(--cardinal) !important;
}

.swal2-confirm, .swal2-styled {
    background-color: var(--primary-color) !important;
    border-radius: 15px;
}

/* Button loading state */
.btn-loading {
    opacity: 0.6;
    position: relative;
    pointer-events: none;
}

/* Span wrapper for each dot */
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff; /* Adjust the color */
    border-radius: 50%;
    margin: 0 3px; /* Spacing between dots */
    transform: translateY(0);
    animation: wave 1s ease-in-out infinite;
    opacity: 0.8;
}

/* Animation keyframes for the wave effect */
@keyframes wave {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2.5px); }
    100% { transform: translateY(0); }
}

/* Staggered animation delays for each dot */
.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.1s;
}

.dot:nth-child(3) {
    animation-delay: 0.2s;
}

.pointer{
    cursor: pointer !important;
}

.leaflet-control-attribution {
    border-top-left-radius: 8px;
}

.leaflet-control-attribution a svg {
    display: none !important;
}


.input-container {
    position: relative;
    width: 100%;
}

.floating-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 60px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.floating-input::placeholder {
    color: transparent;
}

.floating-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    padding: 0 7.5px;
    border-radius: 50px;
}

html[dir="rtl"] .floating-label {
    right: 20px;
    left: auto;
    text-align: right;
}

.floating-input:focus+.floating-label,
.floating-input:not(:placeholder-shown)+.floating-label {
    top: 10.5px;
    font-size: 12px;
    color: #555;
}

.floating-input:focus {
    border-color: rgba(255, 165, 0, 0.8);
    background: rgba(255, 255, 255, 0.2);
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.blink-red {
    border-radius: 1000px;
    border: 1px solid var(--cardinal) !important;
    animation: blink-red 0.45s alternate 20;
}

@keyframes blink-red {
    0% {
        border-color: var(--cardinal);
        box-shadow: 0 0 5px var(--cardinal);
    }
    100% {
        border-color: transparent;
        box-shadow: none;
    }
}

.phone-input-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between country code and phone fields */
}

.phone-input-container .input-container {
    position: relative;
}

#country-code-input {
    width: 80px;
    text-align: center; /* Center-align country code */
}

#phone-input {
    width: 100%;
    flex: 1; /* Take up remaining space */
}

.invite-mode-badge {
    background: rgba(0, 123, 255, 0.15);
    color: #0056b3;
    border: 1px solid rgba(0, 123, 255, 0.3);
    padding: 12px 20px;
    margin : 20px auto 0 auto;
    max-width: 400px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

input[type="date"],
input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    padding: 0.75rem 1rem 0.75rem 3rem;
    box-sizing: border-box;
}
