* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f4f4f4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error {
    color: red;
    font-size: 13px;
    margin-top: -15px;
    margin-bottom: 10px;
    display: block;
}

.container {
    display: flex;
    width: 100%;
    max-width: 900px;
    margin: 20px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.left-section {
    flex: 1;
    background: #000;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* This centers content vertically */
    align-items: center;
}

.logo-container {
    margin-bottom: 20px; /* Adjusted from negative margin */
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo {
    max-width: 120px; /* Reduced from 250px */
    height: auto;
}

.left-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.left-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 0 10px;
}

.right-section {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-section h2 {
    color: black;
    margin-bottom: 10px;
}

.right-section p {
    color: grey;
    margin-bottom: 30px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}
.terms {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.terms input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.terms input[type="checkbox"]:checked {
    color: black;
    background-color: black;
    border-color: black;
}

.terms label {
    font-size: 13px;
    color: grey;
    line-height: 1.4;
}

.terms a {
    color: #007bff;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.terms .error {
    margin-top: 5px;
}

.login-btn {
    background: black;
    color: #fff;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.2s;
}

.login-btn:hover {
    opacity: 0.9;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.additional-links {
    margin-top: 20px;
}

.error-toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: #ff4d4f;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: bold;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        background: white;
    }

    .container {
        flex-direction: column;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        height: 100%;
    }

    .left-section {
        padding: 40px 20px;
        min-height: 40vh;
    }

    .logo {
        max-width: 140px;
    }

    .left-section p {
        margin-bottom: 0;
    }

    .right-section {
        padding: 30px 20px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    .login-btn {
        padding: 10px;
    }
}
