﻿/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper for both forms */
.login-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
    max-width: 900px;
    width: 90%;
}

/* Login box styling */
.login-box {
    flex: 1 1 350px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    animation: floatIn 0.8s ease;
    text-align: center;
    transition: transform 0.3s ease;
}

    .login-box:hover {
        transform: translateY(-5px);
    }

/* Icon above form */
.login-icon {
    margin-bottom: 15px;
}

    .login-icon img {
        width: 70px;
        height: 70px;
        object-fit: contain;
    }

/* Form heading */
.login-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

/* Input fields */
.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    transition: border 0.3s;
}

    .login-box input:focus {
        border-color: #007bff;
        outline: none;
    }

/* Buttons */
.login-box button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

    .login-box button:hover {
        background-color: #0056b3;
    }

/* Message area */
.message {
    margin-top: 10px;
    font-size: 14px;
    color: #d9534f;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
        align-items: center;
    }
}


.links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    width: 100%; /* Make sure links container uses full width */
}

    .links a {
        color: #007bff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .links a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

