﻿/* ==========================================================================
   PRAGATI PORTAL - Core Custom Theme Stylesheet
   ========================================================================== */

/* Universal Layout & Base */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f7f9fc;
    color: #2b2d42;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

main {
    flex: 1;
}

/* Dynamic Brand Colors using CSS Variables */
.text-primary-theme {
    color: var(--pragati-primary) !important;
}

.bg-primary-theme {
    background-color: var(--pragati-primary) !important;
    color: #fff !important;
}

.text-accent-theme {
    color: var(--pragati-secondary) !important;
}

/* Header & Navigation Bar */
.navbar-custom {
    background-color: var(--pragati-navbar-bg) !important;
    border-bottom: 3px solid var(--pragati-secondary);
}

    .navbar-custom .navbar-brand,
    .navbar-custom .nav-link {
        color: var(--pragati-navbar-text) !important;
        font-weight: 500;
        transition: color 0.15s ease-in-out;
    }

        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link:focus,
        .navbar-custom .nav-link.active {
            color: var(--pragati-secondary) !important;
        }

    .navbar-custom .dropdown-menu {
        border-radius: 0.5rem;
        border: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .navbar-custom .dropdown-item:hover {
        background-color: rgba(var(--bs-primary-rgb), 0.08);
        color: var(--pragati-primary);
    }

/* User Avatar Bubble */
.user-avatar-badge {
    width: 34px;
    height: 34px;
    background-color: var(--pragati-secondary);
    color: #1a1a1a;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-primary-theme {
    background-color: var(--pragati-primary);
    border-color: var(--pragati-primary);
    color: #ffffff;
    transition: all 0.2s ease;
}

    .btn-primary-theme:hover,
    .btn-primary-theme:focus {
        background-color: var(--pragati-link-hover);
        border-color: var(--pragati-link-hover);
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

/* Cards & Widgets */
.card {
    border: none;
    border-radius: 0.65rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.35rem 0.85rem rgba(0, 0, 0, 0.09);
    }

.card-header-theme {
    background-color: #ffffff;
    border-bottom: 2px solid rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 600;
}

/* Status / Task Progress Badges */
.badge-tier {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

/* Footer */
.footer-custom {
    background-color: #0b132b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .footer-custom a {
        color: rgba(255, 255, 255, 0.65);
        transition: color 0.15s ease;
    }

        .footer-custom a:hover {
            color: var(--pragati-secondary);
        }
