/* =========================================================
   AKMEWS SIMPLE DESIGN
========================================================= */

:root {
    --primary: #00695c;
    --primary-dark: #004d40;
    --green: #00796b;
    --red: #c62828;
    --yellow: #ffb300;
    --text: #263238;
    --muted: #607d8b;
    --border: #dddddd;
}


/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #ffffff;
}

a {
    text-decoration: none;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--primary);
    color: #ffffff;

    padding: 6px 18px;

    font-size: 13px;
}

.topbar-content {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.topbar-left {
    font-weight: 600;
}

.topbar-left i {
    margin-right: 5px;
}

.top-links {
    display: flex;

    gap: 18px;
}

.top-links a {
    color: #ffffff;
}

.top-links a:hover {
    color: #ffe082;
}


/* =========================================================
   BRAND HEADER
========================================================= */

.brand-header {
    background: #ffffff;

    padding: 10px 10px;

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

.brand-logo {
    width: 65px;
    height: 65px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    border: 4px solid #e0f2f1;

    font-size: 28px;
}

.secondary-logo {
    background: #455a64;
}

.brand-title h2 {
    margin: 0;

    color: var(--primary);

    font-size: 20px;

    font-weight: 700;
}

.brand-title h1 {
    margin: 2px 0;

    color: #164b55;

    font-size: 22px;

    font-weight: 700;
}

.brand-title p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.akmews-navbar {
    background: var(--green) !important;

    padding: 0 !important;

    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
}

.akmews-navbar .nav-link {
    color: #ffffff !important;

    padding: 9px 8px;

    font-size: 12px;

    white-space: nowrap;
}

.akmews-navbar .nav-link i {
    margin-right: 4px;
}

.akmews-navbar .nav-link:hover {
    background: var(--primary-dark);
}

.akmews-navbar .nav-link.active {
    background: var(--primary-dark);
}


/* =========================================================
   ALERT MENU
========================================================= */

.alert-nav {
    background: var(--red) !important;

    font-weight: 700 !important;
}

.alert-nav:hover {
    background: #8e0000 !important;
}

.alert-icon-wrap {
    position: relative;

    display: inline-block;
}

.alert-count {
    position: absolute;

    top: -8px;

    right: -11px;

    min-width: 16px;

    height: 16px;

    padding: 1px 4px;

    border-radius: 50%;

    background: #ffffff;

    color: var(--red);

    font-size: 9px;

    text-align: center;

    font-weight: bold;
}


/* =========================================================
   BLINKING ALERT
========================================================= */

.has-active-alert {
    animation: alertBlink 1s infinite;
}

@keyframes alertBlink {

    0%,
    45% {
        background: #c62828 !important;
    }

    55%,
    100% {
        background: #8e0000 !important;
    }
}


/* =========================================================
   PHASE 2
========================================================= */

.phase-two {
    opacity: .98;
}

.phase-badge {
    display: inline-block;

    margin-left: 3px;

    padding: 2px 5px;

    background: var(--yellow);

    color: #222222;

    border-radius: 4px;

    font-size: 8px;

    font-weight: bold;
}


/* =========================================================
   RIGHT NAVIGATION
========================================================= */

.navbar-actions {
    display: flex;

    align-items: center;

    gap: 5px;
}

.nav-action {
    color: #ffffff;

    padding: 7px 8px;

    font-size: 12px;
}

.nav-action:hover {
    color: #ffe082;
}

.login-btn {
    color: var(--primary) !important;

    font-weight: bold;
}


/* =========================================================
   SIMPLE HOME
========================================================= */

.simple-home {
    min-height: 360px;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 15px;
}

.welcome-box {
    width: 100%;

    max-width: 850px;

    margin: auto;

    text-align: center;

    padding: 25px;
}

.welcome-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    font-size: 30px;
}

.welcome-box h1 {
    margin: 0 0 8px;

    color: var(--text);

    font-size: 38px;

    font-weight: 600;
}

.welcome-box h2 {
    margin: 0 0 12px;

    color: var(--primary);

    font-size: 22px;

    font-weight: 500;
}

.welcome-box p {
    max-width: 700px;

    margin: auto;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   FOOTER
========================================================= */

.akmews-footer {
    background: var(--primary);

    color: #ffffff;

    padding: 30px 0 15px;

    margin-top: 0;
}

.akmews-footer h5 {
    margin-bottom: 12px;

    font-size: 18px;

    font-weight: 700;
}

.akmews-footer p {
    margin-bottom: 7px;

    font-size: 13px;

    line-height: 1.6;
}

.footer-links {
    list-style: none;

    padding: 0;

    margin: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: #ffffff;

    font-size: 13px;
}

.footer-links a:hover {
    color: #ffe082;
}

.akmews-footer hr {
    border-color: rgba(255,255,255,.25);

    margin: 15px 0;
}

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1199px) {

    .akmews-navbar .nav-link {
        padding: 9px 7px;

        font-size: 11px;
    }

    .phase-badge {
        font-size: 7px;
    }
}


@media (max-width: 991px) {

    .brand-logo {
        width: 55px;
        height: 55px;

        font-size: 23px;
    }

    .brand-title h2 {
        font-size: 16px;
    }

    .brand-title h1 {
        font-size: 18px;
    }

    .brand-title p {
        font-size: 10px;
    }

    .navbar-actions {
        padding: 10px 0;
    }

    .simple-home {
        min-height: 330px;
    }
}


@media (max-width: 767px) {

    .topbar-content {
        flex-direction: column;

        gap: 3px;
    }

    .top-links {
        display: none;
    }

    .brand-header {
        padding: 8px 5px;
    }

    .brand-logo {
        width: 45px;
        height: 45px;

        font-size: 19px;

        border-width: 3px;
    }

    .brand-title h2 {
        font-size: 13px;
    }

    .brand-title h1 {
        font-size: 14px;
    }

    .brand-title p {
        display: none;
    }

    .simple-home {
        min-height: 300px;

        padding: 30px 15px;
    }

    .welcome-box {
        padding: 15px;
    }

    .welcome-icon {
        width: 55px;
        height: 55px;

        font-size: 23px;
    }

    .welcome-box h1 {
        font-size: 30px;
    }

    .welcome-box h2 {
        font-size: 18px;
    }

    .welcome-box p {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 5px;

        text-align: center;
    }
}
/* =========================================================
   AKMEWS STEP 12 HOMEPAGE
========================================================= */

.akmews-home {
    padding-top: 18px;
    padding-bottom: 30px;
}


/* =========================================================
   EMERGENCY ALERT
========================================================= */

.emergency-banner {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 16px 20px;

    margin-bottom: 20px;

    border-radius: 6px;

    border: 1px solid transparent;
}

.emergency-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 22px;
}

.emergency-content {
    flex: 1;
}

.emergency-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.emergency-content h2 {
    margin: 3px 0;

    font-size: 19px;
    font-weight: 700;
}

.emergency-content p {
    margin: 3px 0;

    font-size: 13px;
}

.alert-location {
    margin-top: 5px;

    font-size: 12px;
    font-weight: 600;
}

.emergency-action {
    flex-shrink: 0;
}

.btn-alert {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 4px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
}


/* EMERGENCY */

.alert-emergency {
    background: #ffebee;
    border-color: #ef9a9a;
    color: #8e0000;

    animation: emergencyPulse 1.5s infinite;
}

.alert-emergency .emergency-icon {
    background: #c62828;
    color: #ffffff;
}

.alert-emergency .btn-alert {
    background: #c62828;
}


/* WARNING */

.alert-warning {
    background: #fff8e1;
    border-color: #ffcc80;
    color: #8a4b00;
}

.alert-warning .emergency-icon {
    background: #ef6c00;
    color: #ffffff;
}

.alert-warning .btn-alert {
    background: #ef6c00;
}


/* WATCH */

.alert-watch {
    background: #e3f2fd;
    border-color: #90caf9;
    color: #0d47a1;
}

.alert-watch .emergency-icon {
    background: #1976d2;
    color: #ffffff;
}

.alert-watch .btn-alert {
    background: #1976d2;
}


/* INFORMATION */

.alert-information {
    background: #e8f5e9;
    border-color: #a5d6a7;
    color: #1b5e20;
}

.alert-information .emergency-icon {
    background: #2e7d32;
    color: #ffffff;
}

.alert-information .btn-alert {
    background: #2e7d32;
}


@keyframes emergencyPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(198, 40, 40, 0);
    }

    50% {
        box-shadow: 0 0 12px rgba(198, 40, 40, .25);
    }
}


/* =========================================================
   NO ALERT
========================================================= */

.no-alert-banner {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px 18px;

    margin-bottom: 20px;

    background: #f1f8e9;

    border: 1px solid #c5e1a5;

    border-radius: 6px;

    color: #33691e;
}

.no-alert-icon {
    font-size: 27px;
}

.no-alert-banner strong {
    display: block;

    font-size: 17px;
}

.no-alert-banner p {
    margin: 2px 0 0;

    font-size: 12px;
}


/* =========================================================
   WELCOME
========================================================= */

.simple-welcome {
    padding: 20px 10px 25px;

    text-align: center;
}

.welcome-content {
    max-width: 800px;

    margin: auto;
}

.welcome-label {
    color: #00695c;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .8px;
}

.welcome-content h1 {
    margin: 5px 0;

    color: #263238;

    font-size: 34px;

    font-weight: 600;
}

.welcome-content h2 {
    margin: 0 0 10px;

    color: #00796b;

    font-size: 20px;

    font-weight: 500;
}

.welcome-content p {
    margin: auto;

    max-width: 700px;

    color: #607d8b;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   TWO COLUMN GRID
========================================================= */

.home-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-bottom: 18px;
}


/* =========================================================
   HOME CARD
========================================================= */

.home-card {
    background: #ffffff;

    border: 1px solid #e0e0e0;

    border-radius: 6px;

    padding: 18px;

    min-height: 220px;
}

.card-heading {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 12px;

    margin-bottom: 10px;

    border-bottom: 1px solid #eeeeee;
}

.card-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 5px;

    color: #ffffff;
}

.card-icon.red {
    background: #c62828;
}

.card-icon.green {
    background: #00796b;
}

.card-icon.blue {
    background: #1976d2;
}

.card-icon.purple {
    background: #6a1b9a;
}

.card-heading h3 {
    margin: 0;

    font-size: 17px;

    font-weight: 700;
}

.card-heading span {
    display: block;

    margin-top: 2px;

    color: #78909c;

    font-size: 11px;
}


/* =========================================================
   MINI ALERT
========================================================= */

.mini-alert {
    padding: 9px 0;

    border-bottom: 1px solid #eeeeee;
}

.mini-alert:last-of-type {
    border-bottom: none;
}

.mini-alert-title {
    font-size: 13px;

    font-weight: 600;

    color: #263238;
}

.mini-alert-meta {
    display: flex;

    gap: 15px;

    margin-top: 4px;

    color: #78909c;

    font-size: 10px;
}

.mini-alert-meta span:last-child {
    font-weight: 700;

    color: #c62828;
}


/* =========================================================
   REGIONAL INFORMATION
========================================================= */

.regional-info {
    padding-top: 2px;
}

.regional-row {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 8px 0;

    border-bottom: 1px solid #eeeeee;
}

.regional-row:last-child {
    border-bottom: none;
}

.regional-row > i {
    width: 28px;

    color: #00796b;

    text-align: center;
}

.regional-row strong {
    display: block;

    font-size: 12px;
}

.regional-row span {
    display: block;

    margin-top: 2px;

    color: #607d8b;

    font-size: 11px;
}


/* =========================================================
   ANNOUNCEMENTS
========================================================= */

.announcement-item {
    padding: 8px 0;

    border-bottom: 1px solid #eeeeee;
}

.announcement-item:last-of-type {
    border-bottom: none;
}

.announcement-item h4 {
    margin: 0 0 3px;

    color: #263238;

    font-size: 13px;

    font-weight: 600;
}

.announcement-item p {
    margin: 0 0 4px;

    color: #607d8b;

    font-size: 11px;

    line-height: 1.4;
}

.announcement-item small {
    color: #78909c;

    font-size: 10px;
}


/* =========================================================
   LIBRARY
========================================================= */

.library-item {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 8px 0;

    border-bottom: 1px solid #eeeeee;
}

.library-item:last-of-type {
    border-bottom: none;
}

.library-file {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #f3e5f5;

    color: #6a1b9a;

    border-radius: 4px;
}

.library-details h4 {
    margin: 0;

    color: #263238;

    font-size: 12px;

    font-weight: 600;
}

.library-details span {
    color: #78909c;

    font-size: 10px;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-message {
    padding: 15px 0;

    text-align: center;

    color: #78909c;
}

.empty-message i {
    margin-bottom: 5px;

    font-size: 20px;
}

.empty-message p {
    margin: 0;

    font-size: 11px;
}


/* =========================================================
   CARD LINK
========================================================= */

.card-link {
    display: inline-block;

    margin-top: 10px;

    color: #00695c;

    font-size: 11px;

    font-weight: 700;
}

.card-link:hover {
    color: #004d40;
}

.card-link i {
    margin-left: 3px;
}


/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access {
    margin-top: 5px;

    padding: 18px;

    background: #f7f9f9;

    border: 1px solid #e5e5e5;

    border-radius: 6px;
}

.quick-heading {
    text-align: center;

    margin-bottom: 14px;
}

.quick-heading span {
    color: #78909c;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .7px;
}

.quick-heading h2 {
    margin: 2px 0 0;

    color: #263238;

    font-size: 20px;
}

.quick-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.quick-item {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 8px;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 5px;

    color: #00695c;

    font-size: 12px;

    font-weight: 600;

    transition: .2s;
}

.quick-item:hover {
    background: #00695c;

    color: #ffffff;

    border-color: #00695c;
}

.quick-item.alert {
    color: #c62828;
}

.quick-item.alert:hover {
    background: #c62828;

    color: #ffffff;

    border-color: #c62828;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .akmews-home {
        padding-top: 10px;
    }

    .emergency-banner {
        flex-wrap: wrap;

        gap: 10px;
    }

    .emergency-action {
        width: 100%;
    }

    .btn-alert {
        width: 100%;

        text-align: center;
    }

    .welcome-content h1 {
        font-size: 28px;
    }

    .welcome-content h2 {
        font-size: 17px;
    }

    .home-grid {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 480px) {

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .emergency-content h2 {
        font-size: 16px;
    }

    .simple-welcome {
        padding: 15px 5px 20px;
    }
}