* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    max-width: 900px;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

.image-section {
    background: #E8F4FD;
    padding: 0; 
    flex: 1; 
    display: flex;
    align-items: stretch; 
    justify-content: center;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}


.form-section {
    background: #FFFFFF;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    color: #1565C0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1976D2;
}

.form-group input[type="number"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #90CAF9;
}

.form-group button {
    width: 100%;
    padding: 12px;
    background: #42A5F5;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-group button:hover {
    background: #1E88E5;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.form-options a {
    color: #1976D2;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

.form-group input[type="checkbox"] {
    accent-color: #42A5F5;
}

@media (max-width: 768px) {
    .container {
    flex-direction: column;
    max-width: 95%;
    }

    .image-section img {
    border-radius: 20px 20px 0 0;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1565C0;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.toast.show {
    opacity: 1;
}