﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #3a00b3, #18b2ff);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.left {
    flex: 1;
    background: linear-gradient(to bottom right, #120135, #1a073a);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

    .left img {
        width: 145px;
        margin-bottom: 20px;
        object-fit: cover;
    }

    .left h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .left p {
        font-size: 14px;
        line-height: 1.5;
    }

    .left .button {
        margin-top: 20px;
        display: inline-block;
        text-decoration: none;
        color: #fff;
        border: none;
        padding: 10px 30px;
        border-radius: 25px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

        .left .button.login {
            background: #18b2ff;
        }

            .left .button.login:hover {
                background: #1090d4;
            }

        .left .button.home {
            background: #28a745;
        }

            .left .button.home:hover {
                background: #218838;
            }

.right {
    flex: 2;
    background: #f9f9ff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    color: #333;
    margin-bottom: 30px;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

.terms-container {
    grid-column: span 2;
    display: flex;
    align-items: center;
    font-size: 14px;
}

    .terms-container input[type="checkbox"] {
        margin-right: 8px;
        width: 15px;
        height: 15px;
    }

    .terms-container a {
        color: #3a00b3;
        text-decoration: none;
        font-weight: 500;
    }

        .terms-container a:hover {
            text-decoration: underline;
        }

.register-btn {
    grid-column: span 2;
    background: #3a00b3;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .register-btn:hover {
        background: #260072;
    }

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .left, .right {
        width: 100%;
    }

    form {
        grid-template-columns: 1fr;
    }

    .terms-container,
    .register-btn {
        grid-column: 1;
    }

    .right {
        padding: 30px 20px;
    }

    h2 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 20px;
    }

    input, select {
        padding: 10px;
    }
}
