body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    max-width: 1000px;
    width: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.right-side {
    flex: 1;
    padding: 40px;
    text-align: left;
}

.left-side {
    flex: 1;
    background-color: #f7f7f7;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.left-side img {
    max-width: 100%;
    max-height: 350px;
}

.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    z-index: 10;
}

.loader {
    border: 6px solid #ccc;
    border-top: 6px solid #007acc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 25px;
    position: relative; 
}

label {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border-color: #007acc;
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 1px;
    top: 68%;
    background-color: #b9b9b9;
    padding: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #333;
    border-radius: 0 6px 6px 0;
}

.password-toggle i {
    font-size: 1.2em;
}

button {
    background-color: #007acc;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease;
    width: 100%;
}

button:hover {
    background-color: #005fba;
}

a {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #777;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

a:hover {
    color: #007acc;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 95%;
        max-width: none;
    }
    .left-side {
        padding: 30px;
        text-align: center;
    }
    .right-side {
        padding: 30px;
    }
    .left-side img {
        max-height: 150px;
    }
}