
/* -------------------------------------------------- */
/*                 DESIGN VARIABLES (same as dashboard) */
/* -------------------------------------------------- */
:root {
    --green-main: #16A34A;
    --green-pill: #0F9F6E;
    --green-pill-bg: #E6F7EE;

    --bg-body: #F5F7FA;
    --bg-card: #FFFFFF;

    --text-dark: #1A1D1F;
    --text-light: #6B7280;

    --border-card: #EAEDF0;
    --radius-card --shadow-card: 0 4px 16px rgba(0,0,0,0.06);
}

/* -------------------------------------------------- */
/*                     GLOBAL RESET                    */
/* -------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: var(--bg-body);
    min-height: 100vh;
    display: flex;
}

/* -------------------------------------------------- */
/*                     MAIN LAYOUT                     */
/* -------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* LEFT SIDE — IMAGE */
.left {
    flex: 1.2;
    background-image: url('https://portal.ehis.co.sz/assets/img/tractor.jpg'); /* replace if needed */
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

@media(max-width: 900px){
    .left {
        display: none; /* hide on tablets/phones */
    }
}

/* RIGHT SIDE — CONTENT */
.right {
    flex: 1;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media(max-width: 900px){
    .right {
        padding: 40px 30px;
    }
}

/* -------------------------------------------------- */
/*                LOGO + WELCOME TEXT                  */
/* -------------------------------------------------- */

.logo {
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-main);
    margin-bottom: 25px;
}

.logo i {
    font-size: 40px;
}

.right h1 {
    font-size: 42px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.right p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 16px;
    max-width: 420px;
}

/* -------------------------------------------------- */
/*                        BUTTONS                      */
/* -------------------------------------------------- */
.btn {
    display: block;
    width: 100%;
    padding: 15px 18px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s ease;
    margin-bottom: 16px;
}

.btn-login {
    background: var(--green-main);
    color: white;
}
.btn-login:hover {
    background: #0d8a3f;
}

.btn-register {
    background: #F3F4F6;
    color: var(--text-dark);
}
.btn-register:hover {
    background: #E3E5E7;
}

/* Footer */
footer {
    margin-top: 35px;
    color: var(--text-light);
    font-size: 14px;
}

.logo {
    display: flex;
    flex-direction: column;   /* puts image on top */
    align-items: center;      /* center horizontally */
    text-align: center;
    margin-bottom: 5px;
}

.logo-img {
    height: 200px;             /* make logo bigger */
    margin-bottom: 5px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
}
.btn-group {
    display: flex;
    justify-content: space-between; /* spread nicely */
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    flex: 1; /* equal width */
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.btn {
    flex: 1;
    padding: 15px;
    border-radius: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

/* Login Button - Green */
.btn-login {
    background: linear-gradient(135deg, #16A34A, #22C55E);
}
.btn-login:hover {
    transform: translateY(-2px);
}

/* Register Button - Grey */
.btn-register {
    background: #6B7280;
}
.btn-register:hover {
    background: #4B5563;
}

/* Visit Website - Orange */
.btn-website {
    background: orange;
}
.btn-website:hover {
    background: darkorange;
}