 /* General Styles */
 * {
    box-sizing: border-box;
}
body {
    /* background-color: #fff; */
    /* background-image: url('../images/auth-bg.jpg'); */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/auth-bg.jpg');
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Verdana', sans-serif;
    height: 100vh;
    margin: 0;
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;

}





h1, h2 {
    font-weight: bold !important;
    color: #21e4fd;
    margin: 0;
}

h2 {
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
    transition: color 0.3s ease;
}

a:hover {
    color: #007bff;
}

button {
    border-radius: 20px;
    border: 1px solid #002752;
    background: linear-gradient(135deg, #007bff, #00aaff); /* Gradient background */
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in, background-color 0.3s ease;
    cursor: pointer; /* Optional: adds a pointer cursor to indicate it's clickable */
}

button:hover {
    background: linear-gradient(135deg, #0056b3, #0099cc); /* Darker gradient on hover */
}


button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

button.ghost {
    background-color: transparent;
    border-color: #007bff;
    color: #ffffff;
}

button.ghost:hover {
    background-color: #007bff;
    color: #FFFFFF;
}

/* Container Styles */
.container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),
                0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 768px;
    min-height: 480px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all 0.6s ease-in-out;

    /* background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);  */
    /* border-radius: 20px; */
    /* padding: 40px; */
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); */
    color: #fff;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }
    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
    /* background:rgb(255 255 255 / 23%); */
    /* backdrop-filter: blur(10px); */
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    height: 100%;
    width: 200%;
    position: absolute;
    transform: translateX(-50%);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(0);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    /* background: linear-gradient(to right, #0056b3, #003366); */
    background:linear-gradient(to left, #202123, #406690) ;
    left: 0;
    border-start-end-radius: 30%;
    border-end-end-radius: 30%;
    transform: translateX(-20%);
    color: #ffffff;
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    background:linear-gradient(to left, #202123, #406690) ;
    /* background: linear-gradient(to left, #003366, #0056b3); */
    right: 0;
    border-start-start-radius: 30%;
    border-end-start-radius: 30%;
    color: #ffffff;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-container a:hover {
    background-color: #007bff;
    border-color: #007bff;
}

.social-container a i {
    color: #007bff;
    transition: color 0.3s ease;
}

.social-container a:hover i {
    color: #ffffff;
}

/* Form Styles */
form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    height: 100%;
    text-align: center;
}

input {
    background-color: #e9ecef;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

input:hover {
    background-color: #d3d3d3;
}

/* Custom styles for alerts */
.alert {
    display: none;
    margin-top: 15px;
    width: 100%; /* Ensure the alert takes up full width */
    max-width: 100%; /* Prevents it from expanding beyond the container */
    overflow: hidden;
    white-space: normal; /* Allows text to wrap */
    word-wrap: break-word; /* Breaks long words */
    overflow-wrap: break-word; /* Ensures words break within the container */
    text-overflow: ellipsis; /* Adds ellipsis if needed */
    padding: 15px; /* Optional: Adds padding for better visual appearance */
    box-sizing: border-box; /* Ensures padding is included in width calculation */
}

.alert.alert-success {
    width: 100%;
    background-color: #d4edda;
    color: #155724;
}

.alert.alert-danger {
    width: 100%;
    background-color: #f8d7da;
    color: #721c24;
}

.alert.show {
    display: block;
}
.alert-container {
    width: 100%;
    word-wrap: break-word; /* Ensures text will wrap */
    overflow-wrap: break-word; /* Breaks long words */
}
.menu-logo {
    width: 100px; /* Set width */
    height: auto; /* Maintain aspect ratio */
    border: 2px solid rgba(255, 255, 255, 0.6); /* Solid border */
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 20px; /* Bottom margin */
    margin-top: 20px; /* Top margin */
    background-color: rgba(255, 255, 255, 0.9); /* Opaque background */
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5); /* White shadow */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transitions */
}

/* Hover effect */
.menu-logo:hover {
    transform: scale(1.1); /* Scale up on hover */
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.7); /* Enhanced shadow on hover */
}

