
/* Container for login/register form */
.container_login {
    display: flex;
    width: 900px;
    height: 550px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.left-pane {
    width: 40%;
    background: url('../images/b_log_im.jpg') center center/cover no-repeat;
    padding: 40px 30px;
    color: #fff;
    background-color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Left pane with welcome message */
/* .left-pane {
    width: 40%;
    background: #34495e;
    color: #fff;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */

.left-pane h1 {
    font-size: 46px;
    margin-bottom: 20px;
}

.left-pane p {
    color: black;
    font-size: 18px;
}

#welcome-msg {
    font-size: 18px;
    text-align: center;
    line-height: 1.4;
}

/* Right pane with form */
.right-pane {
    width: 60%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Form styles */
#register-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#register-form h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

/* Input fields */
#register-form input {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#register-form input:focus {
    border-color: #4ca1af;
    outline: none;
}

/* Button styling */
#register-form button {
    padding: 12px;
    background-color: #4ca1af;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#register-form button:hover {
    background-color: #5ac3d7;
}

/* flash-messages */
.flash-messages {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
}

.alert {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* Bottom text */
#register-form p {
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

#register-form a {
    color: #4ca1af;
    text-decoration: none;
}

#register-form a:hover {
    text-decoration: underline;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .container_login {
        width: 90%;
        height: auto;
        flex-direction: column;
        border-radius: 0;
    }

    .left-pane {
        width: 100%;
        height: 250px;
        padding: 30px;
        background-size: cover;
        background-position: center;
    }

    .right-pane {
        width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .left-pane h1 {
        font-size: 28px;
    }

    #welcome-msg {
        font-size: 16px;
    }

    #register-form h2 {
        font-size: 24px;
    }

    #register-form input,
    #register-form button {
        font-size: 14px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .left-pane {
        height: 180px;
        padding: 20px;
    }

    .left-pane h1 {
        font-size: 24px;
    }

    #welcome-msg {
        font-size: 14px;
    }

    #register-form {
        gap: 10px;
    }

    #register-form input,
    #register-form button {
        padding: 10px;
        font-size: 14px;
    }

    #register-form p {
        font-size: 12px;
    }
}
