﻿html, body {
    margin: 0;
}

/* Background */
.login-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: url('/Content/img/Crane/maxresdefault[1].jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ GREEN OVERLAY (only on background) */
.login-overlay {
    position: absolute;
    inset: 0;
    background: rgba(102, 177, 28, 0.75);
    z-index: 1;
}

/* Admin button */
.edit-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

/* Container ABOVE overlay */
.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
}

/* ✅ Brand header */
.brand-header {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    z-index: 2;
}

/* ✅ Logo size fixed */
.card-logo {
    width: 350px;
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
}

/* Header text */
.brand-header h1 {
    margin: 5px 0;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.brand-header p {
    font-size: 14px;
    color: #f0f0f0;
}

/* ✅ Login card (NOT affected by overlay) */
.login-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 35px;
    color: #333;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    text-align: center;
    border-top: 5px solid #66b11c;
}

    .login-card h2 {
        margin-top: 5px;
        margin-bottom: 10px;
        font-weight: 700;
        color: #222;
    }

.subtitle {
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

/* Inputs */
.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s;
}

    .form-control:focus {
        border-color: #66b11c;
        box-shadow: 0 0 0 2px rgba(102,177,28,0.2);
    }

/* Remember me */
.form-options {
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #66b11c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

    .login-btn:hover {
        background: #5aa018;
    }


.auth-footer {
    margin-top: 15px;
}

.auth-text {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.auth-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

    .auth-link:hover {
        text-decoration: underline;
    }

    .auth-link.subtle {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        color: #888;
    }

/* Responsive */
@media (max-width: 500px) {
    .login-card {
        padding: 25px;
    }
}


