:root {
    --primary-color: #e12448;
    --text-color: #333;
    --bg-color: #f7f9fc;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
}

.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Left Side - Login Form */
.login-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.login-header {
    margin-bottom: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.brand-logo img {
    height: 40px;
}

.login-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(225, 36, 72, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.btn-login:hover {
    background-color: #c41e3d;
}

.social-login {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn-social {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-social:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary-color);
}

/* Right Side - Visual */
.visual-section {
    width: 50%;
    background-image: url('../img/trust-o.jpg'); /* Updated based on available images */
    background-size: cover;
    background-position: center;
    position: relative;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(225, 36, 72, 0.85), rgba(44, 62, 80, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 2rem;
    text-align: center;
}

.visual-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.visual-content p {
    font-size: 1.2rem;
    max-width: 500px;
    line-height: 1.6;
    opacity: 0.9;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.alert-danger {
    background-color: #ffe5e5;
    color: #d63031;
    border: 1px solid #fab1a0;
}

/* Responsive */
@media (max-width: 900px) {
    .login-section {
        width: 100%;
        padding: 5%;
    }
    .visual-section {
        display: none;
    }
}
