/* Updated Sidebar Style with Enhanced Material Design */

.sidebar {
    flex: 1;
    background-color: #ffffff;
    height: 100vh;
    padding: 20px;
    width: 15%;
    position: fixed;
    top: 0;
    left: 0;
    color: #333333;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Enhanced box shadow */
    border-right: 1px solid #e0e0e0; /* Subtle border on the right */
    
    
}

.sidebar h3 {
    font-size: 18px; /* Slightly larger font size for headings */
    font-weight: 600; /* Bolder headings */
    margin-bottom: 20px; /* Increased margin for headings */
    color: #333333;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 1px; /* Spacious margin between list items */
    color: #666666; /* Softer text color */
}

.sidebar a {
    text-decoration: none;
    color: #4285f4;
    font-size: 12px; /* Slightly larger font size for links */
    transition: color 0.3s;
    

    /* Allign text right */
    display: block;
    text-align: left;
    
}

.sidebar a:hover {
    color: #0d47a1;
    background-color: transparent;
    font-weight: 700; /* Bold on hover */
}

/* Widget styles */
.widget {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 20px; /* Increased padding for widgets */
    margin-bottom: 25px; /* More spacing between widgets */
}

.widget h3 {
    font-size: 20px; /* Larger font size for widget headings */
    font-weight: 600;
    margin-bottom: 15px; /* More spacing for headings */
    color: #333333;
}

.widget p {
    font-size: 16px; /* Larger text size for widget content */
    color: #666666;
}

/* Style for custom button links */
.custom-btn-link {
    font-size: 22px;
    font-weight: 700; /* Bolder buttons */
    text-transform: uppercase;
    color: #1d1d1d;
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

/* Style for the collapsible container */
.collapsible {
    border: 1px solid #ddd;
    margin-bottom: 15px; /* Increased spacing between collapsibles */
}

/* Style for the collapsible header */
.collapsible-header {
    background-color: #f1f1f1;
    padding: 15px; /* More padding for header */
    cursor: pointer;
}

/* Style for the collapsible content */
.collapsible-content {
    display: none;
    padding: 15px; /* More padding for content */
}

/* CSS Styles for Field Names */
.field-name {
    margin: 15px 0; /* Increased margin */
    background-color: #333; /* Dark background for field names */
    color: #fff; /* White text for field names */
    padding: 10px; /* Increased padding */
    border-radius: 8px; /* Rounded corners */
}

/* CSS Styles for Labels (field names) */
.label {
    font-weight: 700; /* Bolder labels */
}

/* CSS Styles for Attribute Values */
.attribute {
    color: #333; /* Darker text for attribute values */
}



.custom-card-header {
    padding: 5px;
    font-size: 14px; /* Font size of 14 */
    font-weight: bold; /* Bold font weight */
    text-transform: uppercase; /* Capitalize text */
    color: black; /* White text color */
    background-color: #e0dede; /* Darker background color */
    border: none; /* Remove border */
    cursor: pointer; /* Cursor style on hover */
    outline: none; /* Remove outline on focus */
    margin: 0px;
}

.custom-card-body {
    padding: 5px;
    
}

.sidebar-custom-card {
    margin-bottom: 5px;
}


/* Material Design Roboto Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Desktop view */
@media (min-width: 992px) {
    .sidebar {
        width: 15%;
    }
}

/* Tablet view */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sidebar {
        width: 20%;
    }
}

/* Mobile view */
@media (max-width: 767.98px) {
    .sidebar {
        width: 100%;
        position: relative;
    }
}
