/*
|--------------------------------------------------------------------------
| AAACERT Member Management System
| Custom Stylesheet
|--------------------------------------------------------------------------
*/

/*--------------------------------------------------------------------------
| Brand Colors
|--------------------------------------------------------------------------*/

:root {
    --aaacert-green: #00AF50;
    --aaacert-blue: #293C8F;

    --page-background: #ffffff;
    --section-background: #f8f9fa;
    --border-color: #dee2e6;
}

/*--------------------------------------------------------------------------
| Global
|--------------------------------------------------------------------------*/

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--page-background);
    color: #212529;
    margin: 0;
}

/*--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------*/

header.bg-primary {
    background-color: var(--aaacert-green) !important;
    border-top: 4px solid var(--aaacert-blue);
}

header h2 {
    font-weight: 600;
}

/*--------------------------------------------------------------------------
| Navigation
|--------------------------------------------------------------------------*/

.navbar.bg-dark {
    background-color: var(--aaacert-blue) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.nav-link {
    color: #ffffff !important;
    padding: .75rem 1rem;
    transition: all .2s ease;
}

.nav-link:hover {
    color: #ffffff !important;
}

.nav-link.active {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 3px solid var(--aaacert-green);
}

/*--------------------------------------------------------------------------
| Cards
|--------------------------------------------------------------------------*/

.card {

    border: 1px solid var(--border-color);

    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,.08);

    margin-bottom: 25px;

}

.card-header {

    background: var(--section-background);

    border-bottom: 1px solid var(--border-color);

    font-weight: 600;

}

/*--------------------------------------------------------------------------
| Buttons
|--------------------------------------------------------------------------*/

.btn-primary,
.btn-success {

    background-color: var(--aaacert-blue);

    border-color: var(--aaacert-blue);

}

.btn-primary:hover,
.btn-success:hover {

    background-color: #1f2f73;

    border-color: #1f2f73;

}

/*--------------------------------------------------------------------------
| Tables
|--------------------------------------------------------------------------*/

.table {

    margin-bottom: 0;

}

.table-dark,
.table-dark th {

    background-color: var(--aaacert-blue) !important;

    border-color: var(--aaacert-blue) !important;

}

.table td,
.table th {

    vertical-align: middle;

}

/*--------------------------------------------------------------------------
| Forms
|--------------------------------------------------------------------------*/

.form-control,
.form-select {

    border-radius: 6px;

}

.form-control:focus,
.form-select:focus {

    border-color: var(--aaacert-blue);

    box-shadow: 0 0 0 .2rem rgba(41,60,143,.20);

}

/*--------------------------------------------------------------------------
| Login Page
|--------------------------------------------------------------------------*/

.login-container {

    width: 400px;

    margin: 80px auto;

    background: #ffffff;

    padding: 35px;

    border-radius: 10px;

    box-shadow: 0 6px 20px rgba(0,0,0,.12);

}

.login-container h2 {

    text-align: center;

    margin-bottom: 25px;

}

.form-group {

    margin-bottom: 18px;

}

.notice {

    background: #fff3cd;

    border: 1px solid #ffeeba;

    padding: 12px;

    margin-top: 20px;

    border-radius: 6px;

}

/*--------------------------------------------------------------------------
| Member Section Headers
|--------------------------------------------------------------------------*/

.member-header {
    padding: 12px 18px;
    border-radius: 8px;
    margin: 25px 0 10px 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.member-header-operational {
    background: linear-gradient(90deg, #00AF50 0%, #EAF8EF 100%);
    color: #222;
}

.member-header-associate {
    background: linear-gradient(90deg, #FFD966 0%, #FFF9E6 100%);
    color: #222;
}

.member-header-retired {
    background: linear-gradient(90deg, #F4CCCC 0%, #FFF5F5 100%);
    color: #222;
}
