﻿/*app.css*/

/*================== This is to be used if the bar on the top of the phone cuts content ==================*/
body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.main-layout {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/*================== Typography Enforcement ==================*/
.mud-typography,
.mud-button,
.mud-input,
.mud-input-slot,
.mud-input-control,
.mud-text,
.mud-label,
.mud-snackbar,
.mud-alert {
    font-family: 'Poppins', sans-serif !important;
}

.spark-text {
    color: #C7AE6A !important;
}

/*================== mud overrides ==================*/
.mud-layout {
    display: flex !important;
    flex-direction: column !important;
    background-color: #000000 !important;
}

.mud-main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0px !important;
}

.mud-input.mud-input-outlined .mud-input-outlined-border {
    border-color: #C7AE6A !important;
}

.mud-input-label-outlined {
    background-color: #1a1a1a !important;
}

.mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol {
    color: #C7AE6A !important;
}

:root {
    --mud-palette-primary: #C7AE6A !important; 
    --mud-palette-primary-darken: #b99a45 !important; 
    --mud-palette-primary-lighten: #d5c28f !important; 
    --mud-palette-surface: #e3d6b4 !important;
}

.mud-theme-primary {
    background-color: var(--mud-palette-primary) !important;
}

.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    color: #C7AE6A !important;
}

.mud-icon-root.mud-svg-icon {
    fill: #C7AE6A !important;
}
/*================== mud button overrides ==================*/
.primary-button {
    background-color: #C7AE6A !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.secondary-button {
    border: 1px solid #C7AE6A !important;
    color: #C7AE6A !important;
    background-color: #1a1a1a !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    box-shadow: none !important;
}

/*================== Dashboard List Styling ==================*/
.list-item-content {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

/*================== BottomNavBar Styling ==================*/
.main-content-with-bottom-nav {
    padding-bottom: calc(77px + env(safe-area-inset-bottom));
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-stack {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0.25rem;
}

.bottom-nav .mud-icon-root.mud-svg-icon {
    fill: #888888 !important;
}

/*================== BottomNavBar Styling Variants ==================*/

.bottom-nav.variant-pulse {
    backdrop-filter: blur(10px);
/*    background: rgba(26, 26, 26, 0.85);*/
    border-top: 1px solid #C7AE6A;
    box-shadow: 0 -5px 15px rgba(199, 174, 106, 0.3);
}

.bottom-nav .mud-icon-root.mud-svg-icon {
    fill: #C7AE6A !important;
    text-shadow: 0 0 8px rgba(199, 174, 106, 0.8);
    color: #C7AE6A !important;
    background-color: transparent !important;
    box-shadow: none !important;
    position: relative;
/*    animation: intensePulse 1.5s infinite ease-in-out;*/
    filter: drop-shadow(0 0 10px rgba(199, 174, 106, 0.8));
    outline: none;
}

/*@keyframes intensePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(199, 174, 106, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 12px 6px rgba(199, 174, 106, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(199, 174, 106, 0.6);
    }
}*/
/* Apply black outline only to paths inside icons within BottomNavBar */
.bottom-nav .mud-icon-root path {
    stroke: black;
}

.mud-icon-root path[fill="none"]:first-child {
    display: none;
}
