@charset "UTF-8";

/* Base styles */
body {
    background: url('/images/bg01.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

/* Layout */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-header div.aa-logo {
    display: flex;
    align-items: center;
    padding: 10px;
}

.main-header div.aa-logo img.aa-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.main-header div.aa-logo strong {
    font-size: 20px;
    color: #333;
}

/* Navigation */
.main-toolbar {
    background-color: #f8f9fa;
    padding: 10px;
}

.main-toolbar .searchbar-input {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.main-toolbar ion-icon {
    color: #666;
    font-size: 20px;
}

/* Content */
.home-page-content {
    flex: 1;
    padding: 20px;
}

.home-page-content > ion-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.info-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box div.label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.info-box div.stat {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.info-box div.stat.primary { color: #007bff; }
.info-box div.stat.success { color: #28a745; }
.info-box div.stat.warning { color: #ffc107; }
.info-box div.stat.danger { color: #dc3545; }

/* Tables */
.styledTable {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.styledTable thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

.styledTable th,
.styledTable td {
    padding: 12px 15px;
}

.styledTable tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styledTable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.styledTable tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.styledTable tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }

.pull-right { float: right; }
.pull-left { float: left; }
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Responsive */
@media (max-width: 768px) {
    .home-page-content {
        padding: 10px;
    }

    .info-box {
        padding: 15px;
    }

    .styledTable {
        font-size: 12px;
    }

    .styledTable th,
    .styledTable td {
        padding: 8px 10px;
    }
}

/* Colors */
.text-danger { color: #dc3545; }
.text-success { color: #28a745; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }
.text-primary { color: #007bff; }
.text-secondary { color: #6c757d; }
.text-dark { color: #343a40; }
.text-light { color: #f8f9fa; }
.text-muted { color: #6c757d; }

/* Spacing */
.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }
.mr-1 { margin-right: 0.25rem; }

.p-0 { padding: 0; }
.pt-1 { padding-top: 0.25rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pl-1 { padding-left: 0.25rem; }
.pr-1 { padding-right: 0.25rem; }

.login-container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    width: 405px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.login-header {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    padding: 14px 20px 14px 14px;
    border-bottom: 2px solid #e0e0e0;
}

.gra-logo {
    width: 180px;
    height: 44px;
    margin-right: 1px;
    object-fit: contain;
}

.portal-title {
    font-size: 1em;
    font-weight: bold;
    color: #444;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.login-content {
    padding: 50px 32px 50px 32px;
    display: flex;
    flex-direction: column;
}

.login-title {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 32px;
}

.lock-icon {
    font-size: 1.0em;
    margin-right: 10px;
}

.lock-icon svg {
    vertical-align: middle;
    width: 1.4em;
    height: 1.4em;
    margin-left: 10px;
    display: inline-block;
}

.input-group {
    margin-bottom: 24px;
}

input[type="text"],
input[type="password"] {
    border: none;
    outline: none;
    font-size: 1.35em;
    width: 100%;
    background: transparent;
    padding: 8px 0 4px 0;
    font-family: inherit;
}

.underline {
    height: 2.5px;
    width: 100%;
    margin-top: -2px;
    margin-bottom: 2px;
}
.underline.red {
    background: #e0e0e0;
}
.underline.gray {
    background: #e0e0e0;
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    margin-bottom: 8px;
}

.ghana-gov-login {
    display: flex;
    align-items: center;
    font-size: 0.70em;
    font-weight: bold;
}

.ghana-gov-logo {
    width: 70px;
    height: 10px;
    margin-left: 8px;
}

.login-btn {
    background: #2583f4;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 0.8em;
    box-shadow: 0 2px 8px rgba(37,131,244,0.15);
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover {
    background: #1769c2;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
}
.forgot-password a {
    color: #2583f4;
    font-size: 0.70em;
    text-decoration: none;
}
.forgot-password a:hover {
    text-decoration: underline;
}

.signup-row {
    text-align: center;
    font-size: 0.95em;
    color: #888;
    margin-top: 18px;
}
.signup-link {
    color: #2583f4;
    font-weight: bold;
    text-decoration: none;
}
.signup-row b {
    font-weight: bold;
}

input::placeholder {
    font-size: 0.65em;
    color: #888;
    opacity: 1;
}