html {
  font-size: 12px;
}

@media (min-width: 800px) {
  html {
    font-size: 12px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f8f9fa;
}

header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header img {
        height: 70px;
}

/* Container for the navigation */
.nav {
    display: flex; /* Horizontal layout */
    justify-content: center; /* Center the navigation items */
    align-items: center; /* Align items vertically */
    background-color: #f8f9fa; /* Light gray background */
    /*padding: 5px 15px;*/ /* Padding around the menu */
    border-radius: 8px; /* Rounded corners for the menu */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    list-style: none; /* Remove bullets */
    margin: 0; /* Reset default margin */
}

.large-text {
    font-size: 18px;
    font-weight: bold; /* لجعل النص أكثر وضوحًا */
}
.small-select {
    width: 80;
    height: 30px;
    font-size: 14px;
    padding: 5px;
    text-decoration-color: #007bff;
}

/* Each navigation item */
.nav-item {
    margin: 0 15px; /* Spacing between items */
    font-size: 16px; /* Font size for better readability */
    font-weight: 500; /* Slightly bold text */
    color: #6c757d; /* Muted text color */
    text-transform: capitalize; /* Capitalize first letter */
    cursor: pointer; /* Pointer cursor for interactivity */
    transition: all 0.3s ease; /* Smooth transitions */
    position: relative; /* For underline effect */
}

    /* Hover effect for nav-item */
    .nav-item:hover {
        color: #007bff; /* Change text color on hover */
        transform: scale(1.1); /* Slight zoom effect */
    }

    /* Active navigation item */
    .nav-item.active {
        color: white; /* White text for active item */
        background-color: #007bff; /* Blue background for active item */
        /*padding: 5px 15px;*/ /* Add padding to active item */
        border-radius: 4px; /* Rounded edges for active item */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Shadow for active item */
    }

    /* Underline effect for nav-item */
    .nav-item::after {
        content: ""; /* Empty content for underline */
        display: block; /* Make it a block element */
        width: 0%; /* Start with no underline */
        height: 2px; /* Thickness of underline */
        background: #007bff; /* Underline color */
        transition: width 0.3s ease; /* Smooth width expansion */
        position: absolute;
        bottom: -4px; /* Position below text */
        left: 50%; /* Center the underline */
        transform: translateX(-50%);
    }

    /* Underline expands on hover */
    .nav-item:hover::after {
        width: 100%; /* Full-width underline on hover */
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav {
        flex-direction: column; /* Stack items vertically */
    }

    .nav-item {
        margin: 10px 0; /* Adjust spacing for vertical layout */
    }
}

/* General table styles */

.table tr {
    padding: 2px;
}

.table td, .table th {
    padding: 2px; /* Adjust as needed */
    /*height: 15px;*/ /* Adjust as needed */
    /*line-height: 15px;*/ /* Optional for better alignment */
}



/*.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;*/ /* 3 equal columns */
    /*gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
}

input, select, textarea {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;*/ /* Ensure inputs take up the full width of the column */
/*}

button {
    margin-top: 16px;
    padding: 10px 16px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    button:hover {
        background-color: #0056b3;
    }

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;*/ /* Stacks columns on smaller screens */
    /*}
}*/

/*.btn-trash {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #dc3545;*/ /* Bootstrap danger color */
    /*color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

    .btn-trash:hover {
        background-color: #c82333;*/ /* Slightly darker red */
    /*}

    .btn-trash i {
        margin-right: 8px;*/ /* Space between icon and text */
    /*}*/
