body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* LAYOUT */
.wrapper {
    display: flex;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    background-color: green;
    padding: 5px 5px;   /* Reduced the first value (top/bottom) to bring items closer */
}

.sidebar-logo img {
    width: 120px;
}

.sidebar .nav-link {
    color: white;
    padding: 10px 20px;
    font-size: 15px;
}

.sidebar .nav-link:hover {
    background-color: #124201;
    color: #FFD700;
    text-decoration: none;
}

.sidebar .divider {
    height: 0.5px;              /* thickness */
    background-color: white;  /* pure white */
    margin: 10px 15px;        /* spacing left-right */
    list-style: none;
}

/* MAIN CONTENT */
.content {
    margin-left: 250px;
    padding: 10px;
    width: 100%;
}

/* CAROUSEL */
.carousel-inner img {
    width: 100%;
    height: auto;
}




/*body {*/
/*    background-color: white;*/
/*    color: black;*/
/*    font-family: Arial, sans-serif;*/
/*}*/

.navbar {

/*background: linear-gradient(to right, #E91E63, #FCE4EC); Hot pink to baby pink*/
/*background: linear-gradient(to right, #C2185B, #F8BBD0); /*Dark pink to light p*/
/*background: linear-gradient(to right, #AD1457, #F48FB1); /*Deep rose to light ros
/*background: linear-gradient(to right, #D81B60, #FFCDD2); /*Magenta to soft pink*/
background: linear-gradient(to right,  #3d6370, #7d98a1); /*Deep rose to light ros*/



    /* background: linear-gradient(to right, darkgreen,lightgreen); /* Gradient background 
    color: white; /* Font color for contrast */
    border: 2px solid #054d61; /* Olive-green border */
    padding: 15px 10px; /* Increased padding for a taller navbar */
    font-size: 8px; /* Font size */
    height: 70px; /* Adjust the navbar height explicitly */
    display: flex; /* Ensures proper alignment of content */
    align-items: center; /* Vertically centers content */
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.75); /* Dark gray for better contrast */
    font-size: 16px; /* Default font size */
    border-color: white;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white; 
    font-size: 20px; /* Slightly larger font size on hover */
    transition: font-size 0.5s ease; /* Smooth transition effect */
}

.navbar-brand img {
    height: 30px; /* Adjust brand logo height */
}

.navbar-nav .nav-item .nav-link img {
    height: 30px; /* Adjust icons/images in links */
}

.form-inline .form-control {
    width: 250px; /* Adjust the width of the search bar as needed */
}

.carousel-container {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.carousel-inner img {
    width: 100%;
}

.form-inline .form-control {
        width: 150px; 
}


h2 {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* More modern font stack */
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #333; /* Dark charcoal for readability */
    background-color: #f8f9fa; /* Very light gray */
    padding: 5px;
    border-bottom: 3px solid #1b5e20; /* Matching your green theme */
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Professional touch for headers */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-top:5pm;
}

input[type="text"], 
input[type="number"], 
input[type="date"], 
input[type="datetime-local"], 
input[type="file"], 
select {
    width: 100%;
    /* Increased padding for a more "airy" professional feel */
    padding: 5px 6px; 
    margin: 5px 0;
    box-sizing: border-box;
    
    /* Modern Minimalist Border & Background */
    border: 1px solid #d1d5db; /* Light grey-blue border */
    border-radius: 6px;
    background-color: #ffffff;
    
    /* Typography */
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; /* 20px is quite large for forms; 16px is the professional standard */
    color: #374151; /* Dark charcoal text */
    
    /* Subtle depth */
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Added Focus State: This is key for a professional look */
input[type="text"]:focus, 
input[type="date"]:focus, 
input[type="datetime-local"]:focus, 
select:focus {
    outline: none;
    border-color: #1b5e20; /* Matches your Green theme from Option 1 */
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1); /* Soft green glow */
}

/* Style the file upload button specifically */
input[type="file"] {
    padding: 7px;
    background: #f9fafb;
    cursor: pointer;
}


/*input[type="text"], */
/*input[type="date"], */
/*input[type="datetime-local"], */
/*input[type="file"], */
/*select {*/
    /*width: 100%; */
    /* Makes the input elements take full width of their container */
/*    padding: 2px;*/
/*    margin: 8px 2px;*/
    /*box-sizing: border-box; */
    /* Ensures padding and border are included in the element's width */
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
    /*font-size: 20px; */
    /* Sets the font size to 12px */


/* Button styles */
button.button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: green;
    border: outset;
    color: white; 
    font-size: 16px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

button.button:hover {
    background-color: #609903; 
    font-size: 18px; 
}

/* Sort frame border */
.sort-frame {
    display: inline-flex;
    align-items: center;
    padding: 1px;
    border: 1px solid black; 
    margin-left: 10px;
    margin-bottom: 0px;
    gap: 20px; 
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 8px;
    text-align: left;
}

/* 1. Table Header Styling (Deep Berry Pink) */
th {
    background-color: #054d61; /* Deep Pink/Berry */
    color: #CCCCCC;            /* White text for contrast */
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    text-align: left;
}

/* 1. Odd Rows: Dark Background with Light Font */
tr:nth-child(odd) {
    background-color: #355069; /* Deep Navy/Charcoal */
    color: black;           
}

/* 2. Even Rows: Light Background with Dark Font */
tr:nth-child(even) {
    background-color: #F8F9FA; /* Off-White/Light Grey */
    color: #212529;           /* Deep Charcoal/Black */
}

/* 3. Optional: Hover State for better UX */
tr:hover {
    background-color: #BFEBAE !important; /* Highlights row in your theme green */
    color: #000000 !important; /*Black
}
/* 4. Hover Effect (Vibrant Aqua Green - Complementary Color) */
tr:hover {
    background-color: #415861; /* Vibrant Aqua Green */
    color: #CCCCCC;           /* White text on hover */
    transition: background-color 0.2s ease;
    cursor: pointer;
}



/* Action button styles */
td button {
    padding: 5px 10px;
    margin: 2px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: white;
}

/* Button variations */
td button:nth-child(1) {
    /*background-color: #FFC107;  */
    /*background-color: #187a0b; */
    background-color: green; /* First button */
    
}

td button:nth-child(2) {
    /*background-color: #c21521; */
    background-color: green; /*second button */
}

td button:nth-child(3) {
    /*background-color: lightgreen; */
    background-color: green; /*third button */
}

/* Add subtle hover effect for buttons */
td button:hover {
    opacity: 0.85; /* Slight transparency on hover */
}

/* Modal styles */
.modal {
    display: none;  
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: lightgreen;
    padding-top: 10px;
    color: black;
    justify-content: center; 
    align-items: center; 
}

.modal-content {
    /* Gradient from dark green (#1b5e20) to light green (#90ee90) */
    background: linear-gradient(to bottom, #1b5e20, #90ee90);
    margin: 5% auto;
    padding: 20px; /* Slightly increased for better spacing */
    border: 1px solid #000;
    width: 30%;
    border-radius: 8px; /* Optional: adds a modern feel to the modal */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Optional: adds depth */
    color: white; /* Optional: ensures text is readable on the dark top part */
}

.close-btn {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: orange; 
    color: white;
    border: none;
    cursor: pointer;
}

/* Form container */
.form-container {
    background-color: #96b7d6;
    padding: 20px;
    border: 1px solid white;
    border-radius: 8px;
    max-width: 100px;
    margin: 5px auto;
    color: #f8f5f5; /* light gray
    display: block;
    justify-content: center;
    align-items: center;
}

form label {
    display: block;
}

.dropdown {
    padding: 5px;
    text-align: left;
    border-radius: 4px;
}

.dropdown select {
    color: black; 
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    background-color: white;
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}

/*button*/
form input[type="submit"] {
    background-color: darkgreen; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center
}

form input[type="submit"]:hover {
    background-color: orange; 
}

/* Close button styles */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Search container */
.search-container {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px; /* Space below the search bar */
}

#searchInput {
    margin-right: 6px; /* Space between input and button */
    padding: 5px; /* Padding for better input appearance */
    width: 200px; /* Fixed width for the input */
    height: 38px;
}

.sort-frame {
    border: 1px solid black; /* Black border for the frame */
    padding: 5px; /* Increased padding inside the frame */
    margin-top: 1px; /* Add some spacing above the frame */
    border-radius: 0px; /* Remove border-radius for testing */
}

.sort-frame legend {
    /*font-weight: bold; */
    font-size: 12px; /* Set a consistent font size */
    color: black; /* Ensure the legend text is black */
    margin-top: 0; /* Add some spacing above the frame */
    margin-bottom: 2px; /* Add some spacing above the frame */
    margin-left: 10px; /* Add some spacing above the frame */
}

.sort-frame label {
    display: block; /* Display each option in its own line */
    margin: 2px 6px; /* Add some spacing between options */
    font-size: 16px; /* Default font size */
    color: black; /* Ensure the text color is black */
    cursor: pointer; /* Change the cursor to pointer for labels */
}

.sort-frame label:hover {
    font-size: 16px; /* Increase font size on hover */
    transition: font-size 0.3s ease; /* Smooth transition for font size change */
}

.photo-frame-container {
    display: flex;
    justify-content: center;  
    align-items: center;  
}

.photo-frame {
    display: flex;
    justify-content: center; 
    align-items: center; 
    border: 2px solid black; 
    background-color: #f8f5f5; 
    width: 250px; /* Adjust the width as needed */
    height: 250px; /* Adjust the height as needed */
    overflow: hidden; /* Ensures the content inside doesn't overflow */
}

.card {
    border-radius: 10px;
}

.border-left-primary {
    border-left: 5px solid #355069;
}

.border-left-warning {
    border-left: 5px solid #f0ad4e;
}

.border-left-danger {
    border-left: 5px solid #d9534f;
}

.card h3 {
    font-weight: bold;
}


/*.photo-frame-container {*/
/*    display: flex;*/
/*    justify-content: center;  */
/*    align-items: center;  */
/*    height: 100%; */
/*    width: 100%; */
/*}*/

/*.photo-frame {*/
/*    display: flex;*/
/*    justify-content: center; */
/*        align-items: center; */
/*    width: 12px; */
/*    height: 12px; */
/*    border: 2px solid black; */
/*    background-color: #f8f5f5; */
/*}*/
