* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.login-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: perspective(1000px); /* Adding perspective for 3D effect */
    width: 350px;
    height: 450px;
}

h2 {
    color: white;
    margin-bottom: 20px;
}

.login-form, .signup-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 10px 50px 10px 40px; /* Left padding increased for the icon */
    border: none;
    border-bottom: 2px solid white;
    background: transparent;
    color: white;
    font-size: 16px;
}
.login-btn{
    margin-top: 30px;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 40px; /* Adjusted label positioning to avoid overlap with icon */
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -9px; /* When input is focused, label moves up */
    left: -9px;
    font-size: 12px;
    color: #ff8a00; /* Highlighted color */
}
.input-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: white; /* Adjusted icon color */
}



.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
}

.toggle-password:hover i {
    color: #ff8a00; /* Change the color on hover */
    cursor: pointer;
}
.login-btn, .signup-btn {
    padding: 10px;
    border: none;
    border-radius: 30px;
    background-color: #e52e71;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover, .signup-btn:hover {
    background-color: #ff8a00;
}

.extra-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 120px;
}

.extra-links button {
    padding: 10px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.extra-links button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.extra-links .home-btn i,
.extra-links .signup-btn i,
.extra-links .login-btn i {
    margin-right: 8px;
}

a{
    text-decoration: none;
    color: white;
}

input:focus{
    outline: none;
}

.input-group input:focus {
    border-bottom: 2px solid #ff8a00;
    outline: none;
    box-shadow: 0px 4px 10px rgba(255, 138, 0, 0.2); /* Subtle shadow on focus */
}
