/*
Theme Name: SRS Theme2
Theme URI: https://wp.srs-app.com
Author: Sayeedur Rahman
Author URI: https://wp.srs-app.com
Description: A custom WordPress theme created for wp.srs-app.com.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, theme
Text Domain: srstheme2
*/
@import "src/scss/app.scss";
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/* Custom styles for the dropdown menu items */
.dropdown-menu .dropdown-item {
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for background and text color */
}

/* Hover effect for dropdown items */
.dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
    color: #007bff; /* Bootstrap primary color for text on hover */
}

/* Optionally, you can add an active state color */
.dropdown-menu .dropdown-item:active {
    background-color: #e0e0e0; /* Slightly darker gray for active state */
    color: #0056b3; /* Darker primary color for active state */
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #007bff, #00c6ff); /* Gradient background */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 3px 0; /* Reduced padding */
    height: 50px; /* Reduced height */
    position: sticky; /* Sticky header */
    top: 0; /* Stick to top */
    z-index: 1000; /* Ensure header is on top */
    width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

/* Adjust .header-logo margin on mobile devices */
@media (max-width: 768px) {
    .header-logo {
        margin-left: 50px; /* Add left margin on mobile devices */
    }
}

.header-logo img {
    height: 30px; /* Reduced logo height */
    margin-right: 8px; /* Reduced margin */
}

.header-logo span {
    font-size: 1rem; /* Reduced font size */
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Sidebar Styles */
.sidebar {
    height: calc(100% - 98px);
    width: 250px;
    position: fixed;
    top: 50px;
    left: -250px; /* Initially hidden */
    background: #343a40;
    color: white;
    transition: left 0.3s ease; /* Smooth sliding effect */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    z-index: 999; /* Ensure sidebar is above content */
}

.sidebar.open {
    left: 0; /* Show the sidebar */
}

.sidebar .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px;
    border-bottom: 1px solid #495057;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar ul li a:hover {
    background-color: #495057;
}

.toggle-btn {
    position: absolute;
    top: -1px;
    left: 10px;
    font-size: 20px;
    cursor: pointer;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 5px;
    padding: 10px;
}

/* Main content adjustment */
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
}

.main-content.shift {
    margin-left: 250px; /* Adjust for sidebar width */
}

.header-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.header-logo img {
    height: 30px; /* Further reduced logo height */
    margin-right: 8px; /* Reduced margin */
}

.header-logo span {
    font-size: 1rem; /* Further reduced font size */
    font-weight: bold;
    letter-spacing: 0.5px; /* Slightly tighter letter spacing */
}

.dropdown-menu {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.dropdown-item {
    padding: 6px 12px; /* Adjusted padding */
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.dropdown-item:active {
    background-color: #e0e0e0;
    color: #0056b3;
}


html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Allows the main content to expand and push the footer down */
}

footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 0; /* Remove padding */
    position: relative;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-size: 0.75rem; /* Smaller font size */
    line-height: 1; /* Adjust line-height to fit text within the height */
    height: 20px; /* Set maximum height */
    overflow: hidden; /* Ensure content doesn't overflow */
    display: flex; /* Enable flexbox */
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    flex-direction: row; /* Ensure content alignment is in a row */
}

footer p {
    margin: 0; /* Remove default margin to keep text within height */
}


/* Logo Styles */
.logo {
    font-family: 'Arial', sans-serif; /* Choose your preferred font */
    font-weight: bold; /* Make the text bold */
    font-size: 24px; /* Adjust the size of the text */
    color: #00ff2f; /* Choose your preferred text color */
    text-transform: uppercase; /* Capitalize the text */
    letter-spacing: 2px; /* Add spacing between letters */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow for depth */
}
