/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

nav ul a,
nav .brand-logo {
  color: #444;
}

p {
  line-height: 2rem;
}

.sidenav-trigger {
  color: #26a69a;
}

.parallax-container {
  min-height: 380px;
  line-height: 0;
  height: auto;
  color: rgba(255,255,255,.9);
}
  .parallax-container .section {
    width: 100%;
  }

@media only screen and (max-width : 992px) {
  .parallax-container .section {
    position: absolute;
    top: 40%;
  }
  #index-banner .section {
    top: 10%;
  }
}

@media only screen and (max-width : 600px) {
  #index-banner .section {
    top: 0;
  }
}

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
  font-size: inherit;
}

footer.page-footer {
  margin: 0;
}

/* Extracted from base.html */
.brand-logo img {
  height: 45px; 
  vertical-align: middle;
}

.notification-trigger {
  cursor: pointer;
}

.sidenav-notification-icon {
  cursor: pointer;
}

.version-text {
  font-size: 0.8em; 
  padding-right: 10px; 
  bottom: 60px; 
  position: absolute;
}

.modal-footer-label {
  margin-right: auto; 
  padding-left: 15px;
}

/* Extracted from index.html */
.bold-text {
  font-weight: bold;
}

/* Responsive Header Override */
/* Show hamburger and hide desktop menu on screens narrower than 1200px */
@media only screen and (max-width: 1200px) {
    nav .nav-wrapper .hide-on-med-and-down {
        display: none !important;
    }
    nav .nav-wrapper .sidenav-trigger {
        display: block !important;
        float: right;
        margin-right: 0;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 56px;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: none; /* Hidden by default, shown via media query */
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #757575;
    text-decoration: none;
    font-size: 10px;
    width: 100%;
    height: 100%;
}

.bottom-nav-item i.material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.bottom-nav-item.active {
    color: #26a69a; /* Materialize teal */
}

/* Add padding to body for bottom nav */
/* Show Bottom Nav and add padding on screens < 1200px */
@media only screen and (max-width: 1200px) {
    .bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 56px;
    }
}

/* Original rule for lower breakpoints can be removed or kept if needed, but the above covers it */
/* @media only screen and (max-width: 992px) { ... } overridden by above */

/* Desktop Navigation Item (Icon + Text) */
.desktop-nav-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important;
    height: 64px !important; /* Materialize Default Nav Height */
    line-height: normal !important; /* Reset inherited line-height */
    padding: 0 15px !important;
    color: #757575 !important; /* Standard color */
    transition: background-color .3s;
    float: none !important; /* Prevent float effects on the anchor itself */
}

.desktop-nav-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.desktop-nav-item i.material-icons {
    font-size: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    margin-bottom: 4px !important;
    display: block !important;
    color: #444 !important; /* Ensure icon color */
}

.desktop-nav-item span {
    font-size: 10px !important;
    line-height: 12px !important;
    text-transform: uppercase;
    font-weight: 500;
    display: block !important;
    color: #757575 !important;
}

/* Fix for Notification Badge Container */
.desktop-nav-item div {
    line-height: normal !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Fix for Materialbox Overlay Z-Index on Mobile */
#materialbox-overlay {
    z-index: 10000 !important;
}
.materialbox-caption {
    z-index: 10002 !important;
}
.materialboxed.active {
    z-index: 10001 !important;
}

/* Custom Toast Notification Styles */
.toast {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
    display: flex !important;
    align-items: stretch !important;
    min-height: 64px;
    font-family: 'Roboto', sans-serif;
    overflow: hidden; /* Ensure border radius clips content */
}

/* Status Indicators (Left Border Strip) */
.toast.success { border-left: 6px solid #4CAF50; }
.toast.error { border-left: 6px solid #F44336; }
.toast.warning { border-left: 6px solid #FF9800; }
.toast.info { border-left: 6px solid #2196F3; }

/* Inner Content Layout */
.toast-custom-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
}

/* Icon Styles */
.toast-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.toast-icon {
    font-size: 24px;
}

.toast.success .toast-icon { color: #4CAF50; }
.toast.error .toast-icon { color: #F44336; }
.toast.warning .toast-icon { color: #FF9800; }
.toast.info .toast-icon { color: #2196F3; }

/* Message Text */
.toast-message {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #444;
}

/* Dismiss Button */
.toast-dismiss {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9e9e9e;
    padding: 8px;
    margin-left: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.toast-dismiss:hover {
    background-color: rgba(0,0,0,0.05);
    color: #616161;
}

.toast-dismiss i {
    font-size: 18px;
}
