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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    background-size: cover;
}

.container {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 30px;
    overflow: hidden;
    animation: fadeIn 1.2s ease-in-out;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

    .form-header h1 {
        font-size: 2rem;
        color: #333;
    }

    .form-header p {
        font-size: 1rem;
        color: #777;
    }

.register-form {
    width: 100%;
}

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

    .input-group label {
        display: block;
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 8px;
    }

    .input-group input {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        outline: none;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

        .input-group input:focus {
            border-color: #2575fc;
            box-shadow: 0 0 8px rgba(37, 117, 252, 0.2);
        }

.btn-register {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .btn-register:hover {
        background: linear-gradient(135deg, #2575fc, #6a11cb);
        box-shadow: 0 8px 16px rgba(37, 117, 252, 0.4);
    }

.form-footer {
    text-align: center;
    margin-top: 20px;
}

    .form-footer a {
        color: #6a11cb;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s;
    }

        .form-footer a:hover {
            color: #2575fc;
        }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 20px;
    }

    .form-header h1 {
        font-size: 1.8rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }
}
