/* ==========================================================
   HOME / GPEC INSU DASHBOARD
   ========================================================== */
:root {
    --structure-primary: #656508;
    --structure-primary-dark: #555500;
    --structure-secondary: #d28838;
    --structure-accent: #4b9999;
    --structure-light: #f7f7f2;
    --structure-border: rgba(101, 101, 8, 0.12);
    --structure-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --structure-radius: 18px;
}
.wrapper {
    margin: 0 auto;
    max-width: 1000px;
    width: 95%;
    padding-bottom: 3rem;
}
.wrapper code {
    background: #F5F5F5;
    padding: 2px 6px;
}
/* ----------------------------------------------------------
   FLASH MESSAGES
   ---------------------------------------------------------- */
.home-flash-wrapper {
    max-width: 1100px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
}
.home-flash-wrapper .alert {
    border: 0;
    border-radius: 12px;
    box-shadow: var(--structure-shadow);
}
/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.home-hero {
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--structure-border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 10%, rgba(101, 101, 8, 0.13), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #fafaf6 55%, #f4f4ed 100%);
    box-shadow: var(--structure-shadow);
}
.home-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -160px;
    border-radius: 50%;
    background: rgba(101, 101, 8, 0.06);
    pointer-events: none;
}
.home-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
}
.home-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--structure-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--structure-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.home-hero h1 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #292929;
}
.home-hero p {
    margin: 0;
    max-width: 640px;
    color: #777;
    font-size: .95rem;
    line-height: 1.6;
}
/* ----------------------------------------------------------
   TILES
   ---------------------------------------------------------- */
.home-tile {
    height: 100%;
    border: 1px solid var(--structure-border);
    border-radius: var(--structure-radius);
    box-shadow: var(--structure-shadow);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.home-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0,0,0,.09);
}
.home-tile .card-body {
    padding: 1.75rem 1.25rem;
}
.home-tile .card-title {
    font-size: 1.05rem;
    font-weight: 750;
    color: #333;
    margin-bottom: 1.1rem;
}
.home-tile a {
    text-decoration: none;
    display: block;
}
.home-tile-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.1rem;
    border-radius: 24px;
    background: rgba(101,101,8,.06);
}
.home-tile-icon-wrap img {
    max-width: 78px;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.home-tile .btn-primary {
    border-radius: 10px;
    background-color: var(--structure-primary);
    border-color: var(--structure-primary);
    font-weight: 600;
    padding: .6rem 1.2rem;
}
.home-tile .btn-primary:hover,
.home-tile .btn-primary:focus {
    background-color: var(--structure-primary-dark);
    border-color: var(--structure-primary-dark);
}
/* ----------------------------------------------------------
   LOGIN PROMPT
   ---------------------------------------------------------- */
.login-prompt {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 3rem 2rem;
    border: 1px dashed var(--structure-border);
    border-radius: var(--structure-radius);
    background: #fafaf7;
}
.login-prompt-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(101,101,8,.1);
    color: var(--structure-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.login-prompt h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #444;
}
.login-prompt .btn {
    border-radius: 10px;
    padding: .65rem 1.75rem;
}