/* wwwroot/css/site.css */

/* Adjust padding for the fixed navbar */
.body-content {
    padding-top: 70px; /* Adjust this value if your navbar height changes */
    min-height: calc(100vh - 150px); /* Ensures content pushes footer down, adjust for footer height */
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* Makes the main content area fill available space */
}

/* Example custom styles for cards or other components */
.card-title {
    font-weight: 500;
}
/* Default Light Theme */
body.light-theme {
    background-color: #ffffff;
    color: #000;
}

/* Dark Theme */
body.dark-theme {
    background-color: #121212;
    color: #fff;
}

.dark-theme nav {
    background-color: #333 !important;
}
.button-container {
    display: flex; /* Make the container a flex container */
    gap: 16px; /* Optional: Space between buttons (Material Design recommends at least 12px) */
    /* You might also want to set max-width and justify-content if you don't want them to fill the entire width */
    /* justify-content: center; */ /* Centers the buttons within the container */
}

.material-button {
    flex: 1; /* This is the magic property! */
    /*
    flex: 1 is a shorthand for:
    flex-grow: 1;  (allows the button to grow to fill available space)
    flex-shrink: 1; (allows the button to shrink if needed)
    flex-basis: 0%; (initial size before distributing extra space)
  */
    min-width: fit-content; /* Ensures text doesn't excessively wrap for very short buttons */
    /* Apply your Material Design button styles here: */
    padding: 10px 24px; /* Standard Material padding (adjust as needed) */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2); /* Example elevation */
    background-color: #3f51b5; /* Primary color */
    color: white;
}

    /* Hover/Focus states */
    .material-button:hover {
        background-color: #303f9f;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .material-button:focus {
        outline: 2px solid #673ab7; /* Accent color for focus ring */
        outline-offset: 2px;
    }

.input-field.outlined {
    position: relative;
    margin-top: 1.5rem;
}

    .input-field.outlined input {
        border: 1px solid #9e9e9e;
        padding: 0.8rem 0.75rem;
        border-radius: 4px;
        height: auto;
        box-sizing: border-box;
    }

.input-field.outlined {
    position: relative;
    padding-top: 1.5rem; /* Give space for label */
}

    .input-field.outlined select {
        border: 1px solid #9e9e9e;
        border-radius: 4px;
        padding: 0.75rem;
        font-size: 1rem;
        background-color: #fff;
        display: block;
        width: 100%;
        box-sizing: border-box;
        appearance: none; /* optional, for consistent style */
    }
    
    .input-field.outlined label {
        position: absolute;
        top: 1.3rem;
        left: 0.75rem;
        background: #fff;
        padding: 0 0.25rem;
        color: #666;
        font-size: 1.2rem;
        z-index:10;
    }

    
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

    body.dark-mode table.striped tbody tr:nth-child(odd) {
        background-color: #1e1e1e;
    }

    body.dark-mode table.striped tbody tr:hover {
        background-color: #333333;
    }

    body.dark-mode input[type="text"],
    body.dark-mode input[type="time"],
    body.dark-mode input[type="color"] {
        background-color: #2c2c2c;
        color: #e0e0e0;
        border: 1px solid #555;
    }

    body.dark-mode .btn-small.green,
    body.dark-mode .btn-small.red {
        color: white;
    }

    body.dark-mode .btn-small i.material-icons {
        color: white;
    }
.sidenav-overlay {
    z-index: 990 !important;
    background-color: transparent !important;
}
.logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}
body.dark-theme {
    background-color: #121212;
    color: #e0e0e0;
}

    body.dark-theme .card,
    body.dark-theme .modal,
    body.dark-theme table {
        background-color: #1e1e1e;
    }

    body.dark-theme .input-field input,
    body.dark-theme .input-field textarea {
        color: white;
    }

    body.dark-theme label {
        color: #ccc;
    }
.ts-control {
    border: 1px solid #9e9e9e;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 1rem;
    background-color: #fff;
    height: 3rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.footer {
    padding-top: 20px;
}
.input-field input[type="date"] + label {
    transform: translateY(-14px) scale(0.8);
    transform-origin: 0 0;
}