@charset "utf-8";
/* CSS Document */
*************/

* {
	margin: 0;
	padding: 0;
	border: 0;
}

.bg {
  /* The image used */
background: url(login.png); 
 
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5; /* your background */
}

#wrapper {
	/* Center wrapper perfectly */
	/*width: 300px;*/
	height: 400px;
	position: absolute;
	left: 47%;
	top: 30%;
	margin-left: -150px;
	margin-top: -200px;
}


/*******************
LOGIN FORM
*******************/

.login-form {
	width: 360px;
	margin: 0 auto;
	position: relative;
	z-index: 5;
	background: #FFF /*#f3f3f3*/;
	border: 1px solid #fff;
	border-radius: 5px;
	box-shadow: 0 0px 8px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0px 8px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0px 8px rgba(0,0,0,0.5);
}
















/* Center container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.login-card {
    background: white;
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    /* This creates the purple wavy background effect */
    background: 
        linear-gradient(135deg, #6e28d9 0%, #4c1d95 100%);
    z-index: 1;
    width: 900px; 
}

/* The White Wavy Section */
.form-section {
    flex: 1.2;
    background: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    /* Creating the curved "cloud" shape on the right of the form */
    clip-path: polygon(0% 0%, 90% 0%, 100% 15%, 95% 35%, 100% 50%, 95% 70%, 100% 85%, 85% 100%, 0% 100%);
    border-radius: 30px 0 0 30px;
}

.welcome-section {
    flex: 1;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 5px;
}

.subtitle {
    color: #77F;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Form Inputs */
.input-group {
    background: white;
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(110, 40, 217, 0.1);
    border: 1px solid #f0f0f0;
}

.input-group input {
    border: none;
    outline: none;
    padding: 0 15px;
    width: 100%;
    color: #666;
}

.icon {
    font-size: 1.2rem;
    color: #6e28d9;
}

/* Footer & Buttons */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #8b8be3;
}

.forgot-pass {
    text-decoration: none;
    color: #8b8be3;
}

.sign-in-btn {
    width: 200px;
    padding: 15px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right, #8b5cf6, #6d28d9);
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.3);
    transition: transform 0.2s;
}

.sign-in-btn:hover {
    transform: translateY(-2px);
}

.create-account {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #8b8be3;
}

.create-account a {
    color: #6d28d9;
    text-decoration: none;
    font-weight: 600;
}

.welcome-section {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    padding: 40px;
}

.logo-container {
    width: 100%;
    max-width: 250px; /* Adjust this based on how big you want your logo */
}

.welcome-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Optional: adds a slight glow if your logo is white/bright */
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2)); 
}


/* The Main Form Container Shadow */
.form-section {
    flex: 1.2;
    background: #ffffff;
    padding: 60px;
    z-index: 2;
    /* Soft 3D elevation */
    box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.5), 
                10px 10px 20px rgba(0, 0, 0, 0.05);
    clip-path: polygon(0% 0%, 90% 0%, 100% 15%, 95% 35%, 100% 50%, 95% 70%, 100% 85%, 85% 100%, 0% 100%);
    border-radius: 30px 0 0 30px;
}

/* 3D Floating Input Groups */
.input-group {
    background: #ffffff;
    border-radius: 50px;
    padding: 15px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* This creates the "pop-out" 3D effect */
   box-shadow: 9px 9px 16px rgb(163 177 198 / 67%), -9px -9px 16px rgb(158 158 158 / 68%);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    /* "Pushes" the input down when you click it */
    box-shadow: 
        inset 6px 6px 10px 0 rgba(0, 0, 0, 0.1),
        inset -6px -6px 10px 0 rgba(255, 255, 255, 0.7);
    transform: scale(0.98);
}

/* 3D Glowing Button */
.sign-in-btn {
    width: 220px;
    padding: 16px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(145deg, #8b5cf6, #5b21b6);
    color: white;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    /* Heavy 3D shadow for the button */
    box-shadow: 
        5px 5px 15px rgba(109, 40, 217, 0.4),
        -2px -2px 10px rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.sign-in-btn:hover {
    box-shadow: 
        2px 2px 5px rgba(109, 40, 217, 0.4),
        inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(2px);
}

/* Enhancing the Icons */
.icon {
    font-size: 1.3rem;
    margin-right: 10px;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
}
