body, html {
    height: 100%;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff; /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-layers {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.shape-1 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.6) 0%, transparent 70%);
    top: -200px; left: -100px;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-2 {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 150, 199, 0.6) 0%, transparent 70%);
    bottom: -150px; right: -100px;
    opacity: 0.4;
    animation: float 12s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.6) 0%, transparent 70%);
    top: 30%; left: 60%;
    opacity: 0.3;
    animation: float 8s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

.login-wrapper {
    position: relative;
    z-index: 10;
    width: 400px;
    height: 500px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4); /* Light glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 119, 182, 0.1);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-layer {
    transform: translateZ(-50px) translateY(20px) scale(0.9);
    background: rgba(0, 150, 199, 0.1);
}

.middle-layer {
    transform: translateZ(-25px) translateY(10px) scale(0.95);
    background: rgba(0, 180, 216, 0.1);
}

.login-wrapper:hover .back-layer {
    transform: translateZ(-60px) translateY(30px) scale(0.85);
}

.login-wrapper:hover .middle-layer {
    transform: translateZ(-30px) translateY(15px) scale(0.92);
}

.login-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(3, 4, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 119, 182, 0.2);
    color: #03045e; /* Dark text */
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-wrapper:hover .login-container {
    transform: translateZ(20px);
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #023e8a 0%, #0096c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: #0077b6; /* Medium blue text */
    font-size: 0.95rem;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #023e8a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 119, 182, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: #03045e;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0096c7;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 150, 199, 0.15);
}

.form-group input::placeholder {
    color: rgba(3, 4, 94, 0.3);
}

.btn-login {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #0096c7 0%, #0077b6 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 150, 199, 0.4);
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
}

.btn-login svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-login:hover svg {
    transform: translateX(5px);
}

.error-text {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}
