﻿body {

}
:root {
    --primary-dark: #bf120f;
    --primary-bright: #db1515;
    --dark-text: #333333;
    --light-text: #777777;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://flmtech.co.za/wp-content/uploads/2025/02/portrait-young-successful-african-american-beautiful-woman-who-enjoys-spending-quality-joyful-time-while-working-large-modern-office-4-scaled.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 0;
    }

.login-container {
    display: flex;
    width: 1100px;
    height: 650px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.brand-section {
    flex: 1.2;
    background: linear-gradient(135deg, rgba(191,18,15,0.92) 0%, rgba(219,21,21,0.92) 100%);
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .brand-section::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
    }

    .brand-section::after {
        content: "";
        position: absolute;
        bottom: -80px;
        right: -30px;
        width: 250px;
        height: 250px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }

.login-section {
    flex: 1;
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(255,255,255,0.96);
}

.logo {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.subtagline {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.services-label {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.system-name {
    color: var(--primary-bright);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 0.5px;
}

.input-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-text);
    font-size: 15px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s;
    background-color: rgba(255,255,255,0.8);
}

    input:focus {
        outline: none;
        border-color: var(--primary-bright);
        box-shadow: 0 0 0 3px rgba(219,21,21,0.1);
        background-color: white;
    }

.login-btn {
    background-color: var(--primary-bright);
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

    .login-btn:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(219,21,21,0.25);
    }

.footer {
    margin-top: 40px;
    font-size: 13px;
    color: var(--light-text);
    text-align: center;
}

.error-message {
    color: var(--primary-bright);
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        width: auto;
        margin-right: 8px;
    }

.forgot-password {
    color: var(--primary-bright);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password:hover {
        text-decoration: underline;
    }


.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.login-section {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px; /* Set max width for the form */
    width: 100%; /* Ensure full width within the max-width */
}

.input-group {
    margin-bottom: 15px;
}

    .input-group input {
        width: 100%; /* Ensure the input takes up full width */
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #ccc;
    }

    .input-group label {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }

.login-btn {
    width: 100%;
    background-color: #dc3545;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    .login-btn:hover {
        background-color: #c82333;
    }

