/* custom-style.css */
body {
    font-family: Arial, Helvetica, sans-serif; /* Or the specific font from screenshot */
    background-color: #f0f2f5; /* Light grey page background from screenshot */
}

/* --- Topbar Styling --- */
.topbar {
    background: #003275; /* Dark red/brown gradient - PICK EXACT COLORS */
    height: 60px; /* Adjust as per screenshot */
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #ffffff;
    display: flex; /* Added for flex alignment */
    align-items: center; /* Added for flex alignment */
}

.topbar .navbar-custom {
    padding: 0 15px; /* Adjust padding */
    width: 100%; /* Ensure navbar takes full width for flex */
    display: flex;
    justify-content: space-between; /* Pushes items to ends */
    align-items: center;
    background: #003275;
}

.topbar .topbar-left-area { /* New class for hamburger and title */
    display: flex;
    align-items: center;
}

.topbar .button-menu-mobile {
    color: #ffffff !important;
    font-size: 1.6rem; /* Adjust icon size */
    padding: 0 15px 0 0; /* Padding on right */
    line-height: 60px;
    background: transparent;
    border: none;
}
.topbar .button-menu-mobile:hover {
    color: #f0f0f0;
}

.topbar .header-title {
    font-size: 1.2rem; /* Adjust size */
    font-weight: 500;
    color: #ffffff;
    margin-left: 10px; /* Space from hamburger */
    line-height: 60px; /* Align vertically */
    margin-bottom: 0; /* Override h4 margin */
}

.topbar .topbar-nav .nav-user .nav-user-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
}
.topbar .topbar-nav .nav-user img { /* If you add a user avatar */
    height: 32px;
    width: 32px;
    margin-left: 10px;
}
.topbar .topbar-nav .dropdown-menu {
    border: 1px solid #ddd;
    margin-top: 5px !important; /* Push dropdown down slightly */
}
.topbar .topbar-nav .dropdown-item {
    color: #333;
}
.topbar .topbar-nav .dropdown-item i {
    margin-right: 8px;
}


/* --- Sidebar Styling --- */
.left-sidenav {
    background: linear-gradient(to bottom, #8B0000, #4B3D00,#006400 );
    width: 240px; /* Adjust as per screenshot */
    color: #e0e0e0; /* Default text color for sidebar */
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    padding-top: 0; /* Remove Dastyle's default padding */
}

.left-sidenav .brand {
    padding: 15px 20px; /* Adjust padding */
    text-align: center; /* Center the logo */
    background: transparent; /* Match sidebar gradient */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Faint line below logo */
    height: auto; /* Auto height based on content */
}

.left-sidenav .brand .logo img.sidebar-logo { /* New class for your logo */
    max-height: 70px; /* Adjust logo size */
    width: auto;
    margin-bottom: 5px; /* Space below logo */
}
.left-sidenav .brand .welcome-text {
    color: #f0f0f0;
    font-size: 0.85rem;
    display: block; /* Make it block to handle text-wrap */
    word-wrap: break-word; /* For the warning message */
}
.left-sidenav .brand .welcome-text strong {
    color: #fff;
}
.left-sidenav .brand .logo span { /* Hide Dastyle's text logo if any */
    display: none;
}


.left-sidenav .metismenu {
    padding: 15px 0;
}

.left-sidenav .metismenu li a {
    color: #c0c0c0; /* Lighter text for menu items */
    font-size: 0.9rem;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-left: 3px solid transparent; /* For active indicator */
    transition: all 0.3s ease;
}

.left-sidenav .metismenu li a:hover,
.left-sidenav .metismenu li.mm-active > a {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle hover/active background */
    border-left-color: #A1C8A4; /* Light green active indicator - PICK COLOR */
}

.left-sidenav .metismenu li a .menu-icon {
    color: #a0a0a0; /* Icon color */
    margin-right: 12px;
    font-size: 1rem; /* Adjust icon size */
    width: 20px;
    text-align: center;
}
.left-sidenav .metismenu li.mm-active > a .menu-icon,
.left-sidenav .metismenu li a:hover .menu-icon {
    color: #ffffff;
}

.left-sidenav .metismenu .menu-arrow > .mdi:before { /* Style arrow */
    color: #a0a0a0;
}
.left-sidenav .metismenu li.mm-active > a .menu-arrow > .mdi:before,
.left-sidenav .metismenu li a:hover .menu-arrow > .mdi:before {
    color: #ffffff;
}


/* Sidebar Footer "Control Panel" */
.left-sidenav .sidebar-footer-control-panel {
    background-color: transparent; 
    color: #ffffff;
    padding: 15px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.left-sidenav .sidebar-footer-control-panel h5 {
    
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: bold;
}
.left-sidenav .sidebar-footer-control-panel p {
    font-size: 0.75rem;
    margin-bottom: 0;
    color: #e0e0e0;
}

/* Page Content Area */
.page-content {
    padding: 20px; /* Adjust main content padding */
}
.page-title-box .page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333; /* Darker title */
}


/* Dashboard Quick Link Cards */
.quick-link-card {
    background: linear-gradient(to bottom, #f0f9e8, #e0f0d8); /* Light yellow-green gradient - PICK EXACT COLORS */
    border: 2px solid #c0392b; /* Reddish border - PICK EXACT COLOR */
    border-radius: 8px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #333;
    display: block; /* Make the whole card clickable */
    transition: transform 0.2s ease;
    margin-bottom: 20px;
}
.quick-link-card:hover {
    transform: translateY(-3px);
    color: #111;
}

.quick-link-card .card-body {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-link-card .card-body h3 {
    font-size: 1.2rem; /* Adjust font size */
    font-weight: 500;
    margin: 0;
}

.quick-link-card .card-icon img {
    height: 48px; /* Adjust icon size */
    width: 48px;
}

/* Main Page Footer */
.footer.main-page-footer { /* New class for main page footer */
    background: linear-gradient(to left, #8B0000, #4B3D00,#006400 );
    color: #e0e0e0;
    padding: 10px 20px; /* Adjust padding */
    font-size: 0.85rem;
    border-top: none;
}
.footer.main-page-footer a {
    color: #f0c0c0; /* Lighter link color for footer */
    font-weight: bold;
}


/* custom-style.css */

/* ... (KEEP ALL YOUR EXISTING CSS FOR TOPBAR, SIDEBAR, DASHBOARD CARDS, ETC. ABOVE THIS LINE) ... */


/* --- Login Page Styling (Updated Section) --- */
body.login-page-background {
    background-color: #CCFF99; /* Your chosen Light Green Background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.login-box {
    background-color: #ffffff;
    border-radius: 3px; /* Sharper corners like target */
    /* ADDED BORDER TO MATCH TARGET */
    border: 4px solid #003275; /* Dark grey border - PICK EXACT COLOR from target */
    /* UPDATED SHADOW TO MATCH TARGET (right-side emphasis) */
    box-shadow: 10px 10px 3px #666666; /* Experiment: horizontal, vertical, blur, spread, color */
    /* Alternative for more right-side emphasis:
       box-shadow: 6px 3px 12px -2px rgba(0,0,0,0.2), 3px 3px 6px -3px rgba(0,0,0,0.15);
    */
    width: 500px;
    /*max-width: 420px;*/ /* Adjust to visually match target */
    overflow: hidden;
}

.login-header {
    background-color: #7a0000; /* Dark Red Header */
    color: #ffffff;
    /* ADJUSTED PADDING/HEIGHT TO MATCH TARGET */
    padding: 20px 20px; /* Reduce top/bottom padding if target header is shorter */
    text-align: center;
}

.login-header img.login-logo {
    max-height: 60px; /* Adjust as needed */
    margin-bottom: 8px;
}

.login-header h4 {
    font-size: 1.25rem; /* Adjust to match target */
    font-weight: bold;
    margin-bottom: 2px;
}

.login-header p {
    font-size: 0.85rem; /* Adjust to match target */
    margin-bottom: 0;
    color: #f0f0f0;
}

.login-body {
    padding: 25px 30px 15px 30px; /* Reduced bottom padding slightly before footer */
}

.login-body .form-group {
    margin-bottom: 18px;
}

.login-body .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.85rem;
}

.login-body .form-control.login-input {
    border: 1px solid #007bff; /* Brighter Blue Border - PICK EXACT COLOR */
    border-radius: 3px; /* Sharper corners */
    padding: 8px 10px;
    font-size: 0.9rem;
    box-shadow: none;
    transition: border-color 0.2s ease;
}
.login-body .form-control.login-input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* === UPDATED BUTTON STYLING AS PER YOUR REQUEST === */
.login-body .btn-login,
button.btn-login, /* For direct button elements if used */
input[type="submit"].btn-login { /* For input type submit if used */
    -webkit-appearance: button;
    appearance: button; /* Standard property */
    cursor: pointer;
    background-color: #003275; /* YOUR PROVIDED COLOR */
    color: #FFFFFF; /* YOUR PROVIDED COLOR */
    padding: 8px 15px; /* Adjusted padding from your general button style to fit login button */
    border: 2px solid #003275; /* YOUR PROVIDED BORDER */
    font-weight: bold; /* Keep this from previous login style */
    font-size: 0.95rem; /* Keep this from previous login style */
    border-radius: 3px; /* Sharper corners like target */
    width: 100%; /* Make button full width */
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* In case it's an <a> styled as a button */
}

.login-body .btn-login:hover,
button.btn-login:hover,
input[type="submit"].btn-login:hover {
    background-color: white; /* Slightly darker version of #003275 for hover */
    border-color: #400000; /* Slightly darker border for hover */
    color:  #400000;
}
/* === END OF UPDATED BUTTON STYLING === */

.login-body .btn-login .unlock-icon {
    margin-left: 8px;
    font-style: normal; /* If using text arrow */
    /* For Font Awesome icon, ensure it's styled correctly if needed */
}


.login-footer-text { /* Styles for the copyright text INSIDE the login box */
    text-align: center;
    padding: 12px 20px; /* Adjust padding */
    font-size: 0.75rem;
    color: #555;
    border-top: 1px solid #f0f0f0; /* Faint separator line */
    background-color: #fcfcfc; /* Very light grey, almost white */
}

/* Hide Breeze's default "Remember me" and "Forgot password" */
.login-body .form-check,
.login-body .forgot-password-link {
    display: none;
}

/* === CARD STYLING FROM YOUR REQUEST (Generic - applied if you use .card class) === */
/* Note: Your .login-box already has specific styling. This .card style is general.
   If you intend .login-box to BE a .card, you'd add the .card class to its HTML
   and then these styles would apply unless overridden by more specific .login-box styles.
   For the login page, the .login-box styles are more targeted and should take precedence.
*/
.card {
	position:relative;
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	-ms-flex-direction:column;
	flex-direction:column;
	min-width:0;
	word-wrap:break-word;
	background-color:#fff;
	background-clip:border-box;
	/* MODIFIED BORDER to match login box target */
    border: 1px solid #4a4a4a; /* Dark grey border - if you want this on ALL cards */
    /* MODIFIED BOX-SHADOW to match login box target */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.25); /* If you want this on ALL cards */
    border-radius:.25rem; /* This is approx 4px, your login box used 3px */
}
.card>hr {
	margin-right:0;
	margin-left:0
}
.card>.list-group {
	border-top:inherit;
	border-bottom:inherit
}
.card>.list-group:first-child {
	border-top-width:0;
    border-top-left-radius:calc(.25rem - 1px); /* Adjusted for border */
    border-top-right-radius:calc(.25rem - 1px); /* Adjusted for border */
}
.card>.list-group:last-child {
	border-bottom-width:0;
    border-bottom-right-radius:calc(.25rem - 1px); /* Adjusted for border */
    border-bottom-left-radius:calc(.25rem - 1px); /* Adjusted for border */
}
.card-body { /* This is a general .card-body, your .login-body has specific padding */
	-webkit-box-flex:1;
	-ms-flex:1 1 auto;
	flex:1 1 auto;
	min-height:1px;
	padding:1.25rem; /* Bootstrap default, your .login-body uses custom padding */
}
.card-title { /* General .card-title */
    margin-bottom:.75rem
}
/* === END OF CARD STYLING === */


.quick-link-card {
    background: linear-gradient(to bottom, #adee89b0, #FFFFBF);
    text-decoration: none !important;
    color: #2c3e50;
    display: block;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 3px;
    border: 4px solid #003275; /* Your chosen border */
    box-shadow: 10px 10px 3px #666666; /* Your chosen shadow */
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 3px #666666;
    cursor: pointer;
    color: #2c3e50;
}

.quick-link-card .card-body {
    /* INCREASED PADDING AND MIN-HEIGHT */
    padding: 20px 15px; /* Increased top/bottom padding, kept horizontal */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 95px; /* Increased min-height - adjust this value as needed */
}

.quick-link-card .card-body h3 {
    font-size: 1.15rem; /* Slightly larger text if needed */
    font-weight: bold;
    margin: 0;
}

.quick-link-card .card-icon img {
    height: 40px; /* Slightly larger icon if needed */
    width: 40px;
    object-fit: contain;

}

