/* Entire layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

.container-flex {
    display: flex;
    height: 100vh;
}

/* Left side */
.split-left {
    width: 50%;
    background: #191919; /* Blue background */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.login-logo {
    width: 180px;
    margin-bottom: 20px;
}

/* Right side */
.split-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    text-align: center;
}

h2 {
    margin-bottom: 25px;
    color: #333;
}

/* Inputs */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

/* Button */
button {
    width: 100%;
    padding: 14px;
    background: #191919;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #155a8e;
}

/* Flash error message */
.error-msg {
    background: #ffcccc;
    color: #b30000;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* Register link */
.register-link {
    margin-top: 15px;
}

.register-link a {
    color: #1c75bc;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.flash.success {
    color: green;
    margin-bottom: 10px;
}
.flash.danger {
    color: red;
    margin-bottom: 10px;
}
