/* ----- global reset & body ----- */
body {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    /* Background Image – replace URL with your own */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../img/login-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* overlay behind card */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -2;
}

/* ----- red wave at bottom (fixed) ----- */
.red-wave {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: #BF0204;
    z-index: -1;
    clip-path: ellipse(150% 100% at 50% 100%);
}

/* ----- dotted pattern decorations ----- */
.dots-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#BF0204 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    opacity: 0.4;
}

.dots-top-right {
    top: 80px;
    right: 100px;
}

.dots-left {
    top: 150px;
    left: 80px;
}

/* ----- login card ----- */
.login-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    background: white;
}

/* user icon circle */
.user-icon-circle {
    width: 70px;
    height: 70px;
    background: #BF0204;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.user-icon-circle i {
    font-size: 35px;
    color: white;
}

/* form controls */
.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #BF0204;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.input-group-text {
    background: #BF0204;
    color: white;
    border: 1px solid #BF0204;
    border-radius: 5px 0 0 5px;
    padding: 12px 15px;
}

/* login button */
.btn-login {
    background: #BF0204;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    color: white;
}

.btn-login:hover {
    background: #c82333;
    transform: translateY(-2px);
    color: white;
}

/* brand / logo text */
.logo-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* red divider lines */
.divider-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #BF0204;
    vertical-align: middle;
    margin: 0 10px;
}

/* remember me checkbox */
.form-check-input:checked {
    background-color: #BF0204;
    border-color: #BF0204;
}

/* ----- helper/text styles (moved from inline) ----- */
.welcome-heading {
    font-size: 1.7rem;
    font-weight: 700;
}
.welcome-heading .dark-part {
    color: #000;
}
.welcome-heading .red-part {
    color: #BF0204;
}

.sub-welcome {
    font-size: 0.95rem;
}

.remember-label {
    font-size: 0.9rem;
    color: #000;
}

.forgot-link {
    font-size: 0.9rem;
    color: #BF0204;
    text-decoration: none;
}
.forgot-link:hover {
    text-decoration: underline;
    color: #a00103;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.footer-brand .white-part {
    color: #fff;
}
.footer-brand .red-part {
    color: #BF0204;
}

.footer-copy {
    color: #fff;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.footer-copy .red-year {
    color: #BF0204;
    font-weight: 600;
}

/* extra: no inline styles left */
.bg-pattern {
    /* placeholder, no inline used */
}