@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    overflow: hidden;
}

.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-shapes::before, .background-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.background-shapes::before {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -100px;
}

.background-shapes::after {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -150px;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-card {
    width: 400px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: #fff;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.input-container {
    position: relative;
    margin-bottom: 25px;
}

.input-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.switch-form-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.switch-form-text a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.message-text {
    margin-top: 20px;
    color: #ff4757;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}