﻿/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.container {
    width: 90%;
    max-width: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    padding: 30px;
    animation: slide-in 0.5s ease-out;
}

.form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.checkbox-label {
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

    .btn:hover {
        background: #0056b3;
    }

.link-container {
    text-align: center;
    margin-top: 15px;
}

    .link-container a {
        text-decoration: none;
        color: #007bff;
        font-size: 14px;
    }

        .link-container a:hover {
            text-decoration: underline;
        }

@keyframes slide-in {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}
*/
/* Global Styles */
body.body-bg {
    background: linear-gradient(to right, #dfe9f3, #ffffff);
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/*.form-container {
    background: #fff;
    padding: 30px 40px;
    width: 420px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: slideIn 1s ease-out;
}*/
.form-container {
    position: relative;
    background: #fff;
    padding: 30px 40px;
    width: 420px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: slideIn 1s ease-out;
    overflow: hidden;
    z-index: 1;
}


h2 {
    text-align: center;
    color: #007bff;
    margin-bottom: 20px;
}

/*input[type="text"],
input[type="email"],
input[type="password"] {
    width: 92%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s ease;
}*/
input[type="text"] {
    width: 92%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s ease;
}

input[type="email"] {
    width: 93%; /* Slightly reduced from right side */
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s ease;
}
input[type="password"] {
    width: 92%;
    padding: 12px 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    transition: 0.3s ease;
}

input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.row {
    display: flex;
    gap: 10px;
}

    .row input {
        flex: 1;
    }

.checkbox {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

    .checkbox label {
        margin-left: 8px;
    }

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.4s;
}

    .btn.login {
        background-color: #007bff;
    }

    .btn.register {
        background-color: #0069d9;
    }

    .btn:hover {
        opacity: 0.9;
        transform: scale(1.03);
    }

.form-footer {
    text-align: center;
    margin-top: 15px;
}

    .form-footer a {
        color: #007bff;
        text-decoration: none;
        margin: 0 5px;
        font-size: 14px;
    }

        .form-footer a:hover {
            text-decoration: underline;
        }

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
