:root {
    --font-sans: "Inter", sans-serif;
    --font-display: "Outfit", sans-serif;
    --bg-dark: #ffffff;
    --bg-col: #ffffff;
    --bg-glow: #2A86FD;
    --grey-input: #D9D9D9;
    --danger: #ffffff;
}

body {
    background-color: #F6F4F0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: var(--font-sans);
    display: flex; 
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.sidebar {
  position: fixed;
  width: 235px;
  height: 100%;
  background-color: #ffffff  ;
  padding: 20px;
  border-right: 1px solid #DCD6C9;
}

.pad {
  margin-top: 10%;
  gap: 10px
}

.menu-active {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(120, 90, 90, 0.5);
    color: #000000;
    font-size: 16px;
    text-decoration: none;
    width: 210px;
    font-weight: bold;
    border-width: 2px;
    border: 1px solid #000000;
}

.active-bordericon {
  width: 35px;
  height: 33px;
  border-radius: 10px;
  background-color: #800000 ;
  display: flex;
  align-items: center;
  justify-content: center;
}

.active-icon {
  width: 24px;
  height: 24px;
  color: #ffff;
}

.menu-btn {
    width: 210px;
    align-items: center;
    display: flex;
    margin-top: 10px;
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
    color: #000000;
    font-size: 16px;
    transition: 0.3s;
    text-decoration: none;
}

.non-active-icon {
  width: 24px;
  height: 24px;
  color: #ffffff ;
}

.non-active-bordericon {
  width: 35px;
  height: 33px;
  border-radius: 10px;
  background-color: #785a5a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  background: #785a5a64;
  color: #000000;
  width: 210px;
  font-weight: bold;
}

.menu-btn:hover .non-active-bordericon {
  background-color: #c72828;
}


.sidebar-divider {
  border: none;
  height: 1px;
  background-color: #000000, transparent 80%;
  width: 100%;
}


/* header  */
 /* --- FIX: Main Content Container --- */
main {
    flex: 1;                     /* Take up remaining width */
    margin-left: 265px;          /* Sidebar width (230px) + its padding (40px) */
    height: 100vh;
    overflow-y: auto;            /* Allow scrolling inside the main area */
}

/* --- FIX: Sticky Header --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 10, 20, 0.6); /* Translucent */
    backdrop-filter: blur(15px);     /* Glass effect */
    padding: 20px 0;                 /* Vertical padding */
    margin-bottom: 20px;
}

/* Header Brand Layout */
.topmenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #800000 ;
    backdrop-filter: blur(15px);
    padding: 20px 40px;
    margin-left: 24px;
    width: 1320px;
    border-radius: 20px;
    margin-top: 15px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-sq {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.brand-logo {
    width: 90px;       /* Adjust this % to make the logo bigger or smaller inside the square */
    height: 90px;      /* Keep this the same as width */
    object-fit: contain; /* Ensures the logo isn't stretched */
}

.brand-text h1 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 1px;
}

.brand-text span {
    color: #ffffff;
    font-size: 0.65rem;
    display: block;
}

/* Profile Section */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.avatar {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* content */
/* --- Dashboard Grid Layout --- */
.dashboard-grid {
  display: grid;
  /* Splits main area into two equal columns, max width 1fr */
  grid-template-columns: repeat(2, 1fr); 
  gap: 10px; /* Space between the cards */
  padding-bottom: 60px; /* Space for the breadcrumb at the bottom */
  padding-right: 24px;
  align-items: flex-start; /* Prevents cards from stretching vertically */
}

/* --- Common Card Styling (Glassmorphism Effect) --- */
.card {
  background: rgb(255, 255, 255); /* Translucent dark bg */
  backdrop-filter: blur(15px);     /* Glass blur effect */
  border-radius: 20px;
  border: 1px solid #DCD6C9; /* Soft border */
  overflow: hidden;
}

/* --- Welcome Card Specifics (Centering) --- */
.welcome-card {
  padding: 80px 40px; /* Large vertical padding to push content center */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 24px;
}

.welcome-content {
  max-width: 500px; /* Keeps text paragraphs readable */
}

.welcome-content h2 {
  color: rgb(0, 0, 0);
  font-size: 2.2rem;
  margin-bottom: 20px;
  margin-top: 0;
  font-family: var(--font-sans);
}

.welcome-content p {
  color: #000000; /* Muted text color */
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px; /* Space before the button */
}

/* The Blue Login Button */
.btn-login-large {
    background-color: #800000;
    color: white;
    text-decoration: none;
    padding: 15px 80px; /* Horizontal wide button */
    border-radius: 9999px; /* Fully rounded */
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-login-large:hover {
    background-color: #c72828; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* --- Dashboard Card Specifics --- */
.dashboard-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  width: 800px;
  height: 590px;
}

/* The Grey Placeholder Box */
.visual-placeholder {
  background-image: url('/static/image/homeimg.png');
  background-size: cover, 48px 48px;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: #7c5a5a; /* Match the grey from image */
  border: 2px solid #800000;
  width: 100%;
  height: 250px; /* Height for the graphic placeholder */
  border-radius: 12px;
  margin-bottom: 25px;
}

.dashboard-text p {
  color: rgb(0, 0, 0);
  text-align: justify;
  text-indent: 40px;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Responsive Layout (Phones/Tablets) --- */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on smaller screens */
        gap: 20px;
    }
}


/* paa ni rod --- */

footer{
    position: sticky;
    bottom:0;
    z-index:100;

    background:#F6F4F0;

    border-top:1px solid #DCD6C9;
    border-left:1px solid #DCD6C9;
    box-shadow:0 -4px 15px rgba(0,0,0,.06);

    padding:25px 0;
}

.footer-content {
    display: flex;
    justify-content: flex-end; /* Moves text to the right */
    padding-right: 40px; /* Adds some space from the edge */
}

.page-label{
    color:#6B7280;
}

.page-name{
    color:#800000;
    font-weight:700;
}

/* Ensure the main container allows the footer to sit at the bottom */
.footer {
  background-color: none;
  margin-left: 10px;
  width: 1416px;
}


.footer-brand{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px 0;
}

.footer-divider{
    width: 500px;      /* adjust length */
    border: none;
    border-top: 1px solid #4B4B4B;
    margin: 0 0 12px 0; /* only 12px gap below */
}

.footer-brand-content{
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo{
    width:60px;
    height:60px;
    object-fit:contain;
    border-radius:12px;
}

.footer-brand-text h3{
    margin:0;
    font-size:22px;
    font-weight:700;
    color:#800000;
}

.footer-brand-text p{
    margin:4px 0;
    font-size:14px;
    color:#000000;
}

.footer-brand-text small{
    color:#6B7280;
    font-size:12px;
}


.brand-link{
    text-decoration:none;
    color:#000000;
    font-size:14px;
    transition:0.2s;
}

.sidebar-footer{
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    padding: 8px 0 5px 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #DCD6C9;
}

.copyright {
    font-size: 10px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.btn-privacy{
    color:#666;
    text-decoration: none;
    padding: 10px 10px 0 0; /* Horizontal wide button */
    border-radius: 9999px; /* Fully rounded */
    font-size: .8rem;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-privacy:hover {
    color: #800000; /* Darker blue on hover */
    transform: translateY(-2px);
    font-weight: bold;
    text-decoration: underline;
}