@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}

body {

    background: url(../images/demo-bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* To position copyright below */
    font-family: "Poppins", sans-serif;
    /* height: 100vh; */
    margin: -20px 0 50px; /* Adjust top margin if needed */

}

h1 {

    font-weight: bold;

    margin: 0;

    font-size: 1.8em; /* Slightly larger headings */

    margin-bottom: 10px; /* Spacing below heading */

}

h1 span { /* Style emoji inside heading differently if needed */

    font-size: 0.9em;

    margin-left: 5px;

}

p {

    font-size: 14px;

    font-weight: 300; /* Lighter weight for paragraph */

    line-height: 20px;

    letter-spacing: 0.5px;

    margin: 20px 0 30px;

}

span {

    font-size: 12px;

    margin-bottom: 10px; /* Space below the 'or use...' text */

}

a {

    color: #333;

    font-size: 14px;

    text-decoration: none;

    margin: 15px 0;

    transition: color 0.3s ease;

}

a:hover {

    color: #983C91; /* Highlight on hover */

}

button {

    border-radius: 20px;

    border: 1px solid #983C91;

    background-color: #983C91;

    color: #ffffff;

    font-size: 12px;

    font-weight: bold;

    padding: 12px 20px;

    text-transform: uppercase;

    transition: transform 80ms ease-in, background-color 0.3s ease, border-color 0.3s ease;

    cursor: pointer;

    margin-top: 10px; /* Space above button */

}

button:active {

    transform: scale(0.95);

}

button:focus {

    outline: none;

}

button.ghost {

    background-color: transparent;

    border-color: #ffffff;

}

button.ghost:hover {

    background-color: rgba(255, 255, 255, 0.1); /* Subtle hover for ghost */

}



form {

    background-color: #ffffff;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
}

input {
    background-color: #fff;
    border: 2px solid #000;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    border-radius: 10px; /* Slightly rounded inputs */
    font-family: 'Poppins', sans-serif; /* Ensure font consistency */
}

input:focus {
    outline: 2px solid #983C91; /* Focus indicator */
    background-color: #fff; /* Change background on focus */

}

.container {

    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.2); /* Softer shadow */
    position: relative;
    overflow: hidden;
    width: 900px;
    max-width: 100%;
    min-height: 700px; /* Slightly taller */
    margin-top: 25px;

}
.logo{
    width: 250px;
    height: 50px;
    margin: 0 auto;
    margin-top: 25px;
}
.logo img{
    width: 250px;
    margin: 0 auto;
}
.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}
.demo-form h1{
    color: #983C91;
    font-size: 25px;
    margin-top: 15px;
    text-align: left;

}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 47%;
    height:96%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100; 
    background-color: #ccc;
    margin: 15px;
    border-radius: 15px;
}
.overlay-container img{
    height: 100%;
}
.button-size button{
    width: 48%;
}

.overlay {

    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #ffffff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;

}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {

    transform: translateX(-20%); /* Start slightly off-screen */

}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

/* --- Animation --- */

/* Move Sign-in to the right */

.container.right-panel-active .sign-in-container {

    transform: translateX(100%);

}

/* Move overlay to the left */

.container.right-panel-active .overlay-container {

    transform: translateX(-100%);

}

/* Bring Sign-up over Sign-in */

.container.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;

}

/* Move overlay back to the right */

.container.right-panel-active .overlay {
    transform: translateX(50%);

}

/* Move overlay panels */

.container.right-panel-active .overlay-left {
    transform: translateX(0);

}

.container.right-panel-active .overlay-right {
    transform: translateX(20%); /* Move slightly off-screen */

}
.select2-results__option {
  color: #555;
}
.flag-text {
  margin-left: 10px;
}
select {
    background-color: #fff;
    border: 2px solid #000;
    padding: 12px 15px;
    margin: 8px 0;
    -webkit-padding:12px 15px;
    width: 100%;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    height: 48px;
    color: 000;
}
select option{
    color: #000;
}

select:not(:-internal-list-box):not([multiple]) option {
    color: #000;
}


@media screen and (-webkit-min-device-pixel-ratio:0) { 
 
   select option{
    color: #000;
}
} 

@keyframes show {

    0%, 49.99% {
        opacity: 0;
        z-index: 1;

    }

    50%, 100% {
        opacity: 1;
        z-index: 5;

    }

}

.button-size .contact-style {
    display: inline-block;
    padding: 10px 35px;
    border: 1px solid #983C91;
    border-radius: 999px; /* Fully rounded */
    background-color: #983C91; /* Replace with the actual purple if different */
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 49%;
}

.button-size .contact-style:hover {
    background-color: #7a267a; /* Darker on hover */
}

/* Responsive adjustments (Example) */

@media (max-width: 768px) {

    .container {
        width: 95%;
    }
    form{
        padding: 15px;
    }
  
    h1 {
        font-size: 1.6em;
    }

    .overlay-panel {
        padding: 0 20px;
    }

}

@media (max-width: 540px) {

    .overlay-container{
        display: none;
    }
    h1 {
        font-size: 1.4em;
    }    
    .sign-in-container{
        width: 100%;
    }

    input {

         padding: 10px 12px;

    }

   

}