html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.carousel-item {
    height: 200px; 
}

.glass-header,
.glass-footer {
    background-color: rgba(25, 135, 84, 0.75); /* Bootstrap's success color with transparency */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    color: white;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

    .glass-header .navbar-brand,
    .glass-footer a {
        color: white !important;
    }

        .glass-header .navbar-brand:hover,
        .glass-footer a:hover {
            opacity: 0.85;
        }

    .glass-header.small,
    .glass-footer.small {
        font-size: 0.85rem;
    }

/* Background Gradient or Image */
.login-bg {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    /* Optional: replace with image */
    /* background: url('/images/login-bg.jpg') no-repeat center center/cover; */
}

/* Card Styling */
.card {
    border-radius: 0.75rem;
}


/* Login card sizing */
.login-card {
    width: 100%;
    max-width: 800px; /* wider than before */
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 0.75rem;
}

/* On larger screens, make it even wider */
@media (min-width: 992px) {
    .login-card {
        max-width: 800px;
    }
}


    .login-card .card-header {
        border-bottom: none;
    }

    .login-card .card-footer {
        border-top: none;
    }


@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Shared hero base */
.login-hero {
    transition: background 0.6s ease-in-out;
    position: relative;
    overflow: hidden;
}

    .login-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 0;
    }

    .login-hero > * {
        position: relative;
        z-index: 1;
    }

/* Gradient mode */
.hero-gradient {
    background: linear-gradient(135deg, #198754 0%, #0ea5a5 100%);
}

    .hero-gradient::before {
        background: rgba(0,0,0,0.25);
    }

/* Image mode */
.hero-image {
    background: url('/imgs/brand/appownerlogo.jpg') center/cover no-repeat;
}

    .hero-image::before {
        background: linear-gradient(135deg, rgba(25,135,84,0.85), rgba(14,165,165,0.85));
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.4s ease-in-out;
}
