/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('../images/bg1.jpg');
    background-size: cover;                 
    background-position: center;            
    background-repeat: no-repeat;           
    background-attachment: fixed;           
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}


/* Glassmorphic Card */
.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}
.login_logo{
    margin: 0 auto 20px;
}

/* Logo */
.logo {
    display: block;       
    /* margin: 0 auto 20px;   */
    width: 125px;
    height: auto;
    object-fit: contain;
}


/* Headings */
h2 {
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    color: #797474;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Form */
.form-control {
    border-radius: 10px;
    border: none;
    padding: 15px;
    margin-bottom: 15px;
}

.form-control:focus {
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.6);
    border: none;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    background: #667eea;
    border: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #5a67d8;
}

/* Error message */
.alert {
    font-size: 0.85rem;
    margin-bottom: 15px;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Ensure cards stretch equally */
.compact-card {
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px; /* Base height */
}

.compact-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hover effect */
.compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}


/* Adjust text sizes */
.compact-card .fw-bold {
    line-height: 1.2;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .main-content h1 {
        font-size: 1.4rem;
        text-align: center;
    }

    .compact-card {
        min-height: 100px;
    }

    .compact-card i {
        font-size: 1.3rem !important;
    }

    .compact-card .fw-bold {
        font-size: 0.85rem;
    }

    .compact-card a {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .compact-card {
        min-height: 110px;
    }
}

@media (min-width: 1200px) {
    .compact-card {
        min-height: 140px;
    }
}
/* Count Circle */
.count-circle {
    background: #fff;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* center inside card */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Larger on desktop */
@media (min-width: 992px) {
    .count-circle {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}


/* Reminder Box */
.reminder-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    /* max-height: 400px; */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    z-index: 1050;
}
.reminder-box.show { display: flex; }
.reminder-header {
    background: #ffc107;
    color: #212529;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e0a800;
}
.reminder-body { 
    padding: 0.5rem; 
    max-height: 130px;
    overflow-y: auto;
}
.reminder-item {
    background: #f1f1f1;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.reminder-item h6 { margin: 0 0 0.25rem 0; font-size: 0.95rem; }
.reminder-item small { font-size: 0.8rem; }
.btn-group a { margin-top: 0.25rem; }

@media (max-width: 767px) {
    .reminder-box{
        right: 5px;
        width: 350px;
    }
}

  table td.label-cell {
    width: 35px;
    text-align: right;
    font-weight: bold;
    background-color: #6c757d4f;
    border-right: 2px solid #6c757d; 
    padding-right: 10px;
}
.form-check {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    width: 180px;
}

.form-check:hover {
    background: #eef6ff;
    border-color: #bcdcff;
}