@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

a{
    color: #fff !important;
}

/* ===== Body & Background ===== */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Nested gradient background */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #f0cb35, #c02425);
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== Login Card ===== */
.downscreen .card {
    background: rgba(255, 255, 255, 0.95); /* slightly transparent white */
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.downscreen .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* ===== Card Heading ===== */
.downscreen h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* ===== Role Buttons ===== */
.downscreen .row.mb-4 a {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.downscreen .row.mb-4 a:hover {
    background: #1cc88a;
    color: #fff;
}

/* ===== Input Fields ===== */
.downscreen input.form-control {
    border-radius: 10px;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: all 0.3s;
}

.downscreen input.form-control:focus {
    border-color: #1cc88a;
    box-shadow: 0 0 8px rgba(28,200,138,0.3);
}

/* ===== Input Icons ===== */
.downscreen .position-relative i {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
}

/* ===== Remember Me ===== */
.form-check-label {
    font-size: 0.9rem;
}

/* ===== Submit Button ===== */
.downscreen .btn-primary {
    background: #4e73df;
    font-weight: 500;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s;
}

/* .downscreen .btn-primary:hover {
    background: #1cc88a;
    color: #fff;
} */



/* Admin/ULB buttons side by side */
.d-flex.gap-2 a {
    border-radius: 10px;
    transition: 0.3s;
}

.d-flex.gap-2 a:hover {
    background-color: #1cc88a;
    color: #fff;
}

/* Card Input Icons */
.input-icon {
    position: absolute;
    top: 50%;
    left: 15px; /* left side of input */
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
    pointer-events: none;
}

/* Input padding so text does not overlap icon */
.form-control.ps-5 {
    padding-left: 45px;
}

/* Login Card Styling */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Heading */
.card h1 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* Submit Button */
.btn-primary.w-100 {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

/* .btn-primary.w-100:hover {
    background-color: #1cc88a;
    color: #fff;
} */

.topscreen {
    position: relative;
}

.button-overlay {
    z-index: 2;
}

/* Optional: Add semi-transparent overlay behind buttons */
.topscreen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* dark overlay for readability */
    border-radius: 10px;
    z-index: 1;
}

.landing-page {
    background: #f8f9fa;
}

.bg-left {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.bg-left::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); /* overlay for text readability */
    border-radius: 15px;
    z-index: 1;
}

.bg-left h1,
.bg-left p {
    position: relative;
    z-index: 2; /* bring text above overlay */
}





/* ===== Responsive ===== */
@media (max-width: 768px) {
    .downscreen .card {
        padding: 30px 20px;
    }

    .downscreen h1 {
        font-size: 1.6rem;
    }
     .d-flex.gap-2 {
        flex-direction: column;
    }
}




