﻿:root {
    --primary-color: #0e754b;
    --secondary-color: #6c757d;
    --hover-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #fff;
    line-height: 1.6;
}

.portal-container {
    max-width: 1000px;
    margin: auto;
   /* padding: 30px;*/
}
.category-list {
    margin-top: 0;
}

.category-list-row {
    row-gap: 0.5rem;
}

.cat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.98rem;
    line-height: 0.8;
}

.category-card {
    color: black;
    background-color: #e8e9eb;
    border: 1px solid #dadcf3;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    /* tighten as needed */
    max-width: 460px;
    width: 100%;
}

    .category-card.alt {
        background-color: #0e754b;
        color: white;
    }

    .category-card .btn {
        margin-top: auto;
        width: fit-content;
        border-color: #333;
    }

    .category-card.alt .btn {
        border-color: white;
    }

    .category-card:hover {
        transform: translateY(-5px);
        transition: all 0.3s ease;
    }

/*POPUP LOGIN STYLE*/
#MainContentLogin {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-box {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 70%;
}
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.end-0 {
    right: 0;
}

.top-50 {
    top: 50%;
}

.translate-middle-y {
    transform: translateY(-50%);
}

.me-3 {
    margin-right: 1rem;
}

.passreset {
    font-size: 13px;
}

.login-error-msg {
    font-size: 0.9rem;
}

