﻿/* =========================================================
   HOME DASHBOARD
   ========================================================= */

.home-dashboard-row {
    margin-top: 18px;
}

.home-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5ebf0;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(23, 43, 77, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .home-card:hover {
        box-shadow: 0 7px 22px rgba(23, 43, 77, 0.09);
    }

.home-card-header {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f4;
    background: #ffffff;
}

.home-card-title {
    display: flex;
    align-items: center;
}

    .home-card-title h4 {
        margin: 0;
        color: #26384a;
        font-size: 14px;
        font-weight: 700;
    }

    .home-card-title span {
        display: block;
        margin-top: 2px;
        color: #8a97a8;
        font-size: 11px;
    }

.home-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 12px;
    border-radius: 8px;
    background: #eef6fb;
    color: #003DA5;
    font-size: 15px;
}

.home-card-body {
    padding: 20px;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-card-body {
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    min-height: 350px;
    display: flex;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

.profile-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    object-position: center;
}

.profile-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #eef6fb;
    color: #003DA5;
    font-size: 42px;
}


/* =========================================================
   ANNOUNCEMENTS
   ========================================================= */

.announcements-body {
    height: 500px;
    overflow-y: auto;
}

.announcement-list {
    display: flex;
    flex-direction: column;
}

.announcement-item {
    display: flex;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f4;
}

    .announcement-item:first-child {
        padding-top: 0;
    }

    .announcement-item:last-child {
        border-bottom: 0;
    }

.announcement-date {
    flex: 0 0 48px;
    width: 48px;
    height: 52px;
    margin-right: 13px;
    padding: 5px;
    border-radius: 7px;
    background: #eef6fb;
    color: #003DA5;
    text-align: center;
}

    .announcement-date span {
        display: block;
        font-size: 17px;
        font-weight: 700;
        line-height: 20px;
    }

    .announcement-date small {
        display: block;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
    }

.announcement-content {
    min-width: 0;
}

    .announcement-content h5 {
        margin: 0 0 3px;
        color: #26384a;
        font-size: 13px;
        font-weight: 700;
    }

.announcement-meta {
    margin-bottom: 5px;
    color: #9aa7b5;
    font-size: 10px;
}

    .announcement-meta i {
        margin-right: 3px;
    }

.announcement-content p {
    margin: 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    text-align: center;
}

.empty-state-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f3f6f8;
    color: #9aa7b5;
    font-size: 21px;
}

.empty-state h5 {
    margin: 0 0 5px;
    color: #42526b;
    font-size: 13px;
    font-weight: 700;
}

.empty-state p {
    margin: 0;
    color: #9aa7b5;
    font-size: 11px;
}


/* =========================================================
   WORKFLOW
   ========================================================= */

.workflow-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 8px;
}

.workflow-image {
    display: block;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.workflow-description {
    margin: 0 0 20px;
    color: #68778d;
    font-size: 12px;
    line-height: 1.7;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.workflow-step {
    position: relative;
    padding: 13px 10px;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    background: #ffffff;
}

.workflow-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
    border-radius: 50%;
    background: #003DA5;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.workflow-step h5 {
    margin: 0 0 5px;
    color: #26384a;
    font-size: 12px;
    font-weight: 700;
}

.workflow-step p {
    margin: 0;
    color: #718096;
    font-size: 10.5px;
    line-height: 1.5;
}


/* =========================================================
   USER GUIDES
   ========================================================= */

.user-guides-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    text-align: center;
}

.guide-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #eef6fb;
    color: #003DA5;
    font-size: 25px;
}

.user-guides-body h5 {
    margin: 0 0 6px;
    color: #26384a;
    font-size: 14px;
    font-weight: 700;
}

.user-guides-body p {
    max-width: 260px;
    margin: 0 0 20px;
    color: #718096;
    font-size: 11px;
    line-height: 1.6;
}

.guide-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 8px;
    padding: 9px 14px;
    border: 1px solid #003DA5;
    border-radius: 6px;
    background: #003DA5;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

    .guide-button i {
        margin-right: 7px;
    }

    .guide-button:hover {
        background: #17496d;
        border-color: #17496d;
        box-shadow: 0 4px 10px rgba(31, 90, 133, 0.2);
        transform: translateY(-1px);
    }

.guide-button-secondary {
    background: #ffffff;
    color: #003DA5 !important;
}

    .guide-button-secondary:hover {
        background: #eef6fb;
        color: #17496d !important;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .workflow-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .home-dashboard-row {
        margin-top: 12px;
    }

    .home-card-body {
        padding: 15px;
    }

    .profile-card-body {
        min-height: 280px;
    }

    .profile-image-wrapper {
        height: 250px;
    }

    .announcements-body {
        height: 300px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   SIDEBAR LOGO
   ========================================================= */
.sidebar-logo {
    display: block;
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}
