/* General Light Mode Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
}
/* Heading Styles for Light Mode */
h1, h2 {
    color: #333;  /* Dark color for light mode */
}

/* Heading Styles for Dark Mode */
body.dark-mode h1, 
body.dark-mode h2 {
    color: #ffffff;  /* White or light color for dark mode */
}


/* Form Elements */
form input, form select, form button {
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    width: 100%;
}

form button {
    background-color: #28a745;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #218838;
}

/* Client List Styles */
#clientList {
    margin-top: 30px;
    border: 4px solid #007bff;
    padding: 15px;
    border-radius: 8px;
}

#clientList ul li {
    background-color: #e9ecef;
    margin: 15px 0;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#clientList ul li:hover {
    transform: translateY(-5px);
}

/* Premium Due List Styles */
#dueClientList {
    margin-top: 30px;
    border: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
}

.remove-btn, .restore-btn, .delete-btn {
    background-color: #ff5252;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.remove-btn:hover, .restore-btn:hover, .delete-btn:hover {
    background-color: #d32f2f;
}

/* Client Counts Section */
#clientCounts {
    text-align: center;
    margin-top: 20px;
}

#clientCounts div {
    
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

#clientCounts h1 {
    font-size: 1.5em;
    color: black;
    font-weight: bold;
    margin: 10px 0;
}

#clientCounts span {
    font-size: 2em;
    font-weight: bold;
    color: black;
}

.dark-mode #clientCounts h1,
.dark-mode #clientCounts span {
    color: white;
}

.dark-mode #clientCounts {
    border-color: yellow;
}

/* Trash List Section */
#trashList {
    text-align: center; /* Centers content inside this div */
    margin-top: 20px; /* Adds some space above the title */
}

#trashTitle {
    color: #fbc707; /* LIC Yellow */
    font-size: 28px;
    background-color: #1d4e9e; /* LIC Blue */
    padding: 15px 25px; /* Padding for space around the text */
    border-radius: 12px; /* Rounded corners */
    display: inline-block; /* Shrinks the background to fit the text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight letter spacing */
    border: 2px solid #fbc707; /* Yellow border for a premium look */
    text-transform: uppercase; /* Capitalized text for emphasis */
    margin: 0 auto; /* Center the element */
}

/* Hover effect */
#trashTitle:hover {
    background-color: #163d78; /* Slightly darker blue on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
    cursor: pointer;
}



#trashClients {
    list-style-type: none;
    padding: 0;
}

#trashClients li {
    background-color: #f8f9fa;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#trashClients li strong {
    font-size: 18px;
    color: #555;
}

#trashClients li p {
    margin: 5px 0;
    color: #666;
}
#trashList h2 {
    color: #333; /* Dark color for light mode */
}

body.dark-mode #trashList h2 {
    color: #ffffff; /* White or light color for dark mode */
}

/* Buttons for Trash List */
.restore-btn, .delete-btn {
    background-color: #ffc107;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 5px;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
}

.restore-btn:hover {
    background-color: green;
}

.delete-btn:hover {
    background-color: #c82333;
}

/* Dark Mode */
body.dark-mode {
    background-color: #2b2b2b;
    color: #ffffff;
}

body.dark-mode .container {
    background-color: #3c3c3c;
}

body.dark-mode form input, body.dark-mode form select {
    background-color: #555;
    color: white;
}

body.dark-mode form button {
    background-color: #5cb85c;
}

body.dark-mode form button:hover {
    background-color: #4cae4c;
}

body.dark-mode #clientList,
body.dark-mode #premiumDueList,
body.dark-mode #trashList {
    background-color: #3c3c3c;
    border-color: yellow;
    color: white;
}

/* Specific Styles for the Client Form */
#clientForm {
    background: linear-gradient(135deg, #f3ec78, #af4261); /* Gradient background */
    border-radius: 15px; /* Rounded corners */
    padding: 10px; /* Padding inside the form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    width: 100%; /* Fixed width for the form */
    margin: 20px auto; /* Center the form on the page */
    color: #333; /* Text color inside the form */
}


/* Styling for Client Form with a Mixed Cyan Cobalt Blue and Mikado Yellow Background */
#clientForm {
    background: linear-gradient(135deg, #1d4e9e, #fbc707); /* Cyan Cobalt Blue to Mikado Yellow gradient */
    border-radius: 15px; /* Rounded corners */
    padding: 12px; /* Padding inside the form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    width: 100%; /* Fixed width for the form */
    margin: 20px auto; /* Center the form */
    color: #fff; /* White text inside the form */
}

/* Input Fields inside the form */
#clientForm input, #clientForm select {
    width: 100%; /* Full width input fields */
    padding: 5px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff; /* White background for input fields */
    color: #333; /* Darker text inside inputs */
}

/* Submit Button Styling */
#clientForm button[type="submit"] {
    background-color: #1d4e9e; /* Cyan Cobalt Blue button */
    color: white; /* White text */
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

/* Hover Effect for Button */
#clientForm button[type="submit"]:hover {
    background-color: #fbc707; /* Mikado Yellow on hover */
}

/* Title of the Form */
#clientForm h2 {
    text-align: center;
    color: #fff; /* White title */
    margin-bottom: 20px;
}

/* Styling for the Client List container with color change every 5 seconds */
#clients {
    animation: changeBackground 10s infinite; /* 25 seconds for a full cycle */
    background-size: 400% 400%; /* Smooth background transition */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin: 20px auto;
}

/* Define the background animation for client list */
@keyframes changeBackground {
    0% { background-color: #1d4e9e; }  /* Cyan Cobalt Blue */
    20% { background-color: #fbc707; } /* Mikado Yellow */
    40% { background-color: #34c759; } /* Light Green */
    60% { background-color: #ff3b30; } /* Red */
    80% { background-color: #ff9500; } /* Orange */
    100% { background-color: #1d4e9e; }  /* Back to Cyan Cobalt Blue */
}

/* Styling for the Premium Due List container with color change every 5 seconds */
#dueClients {
    animation: changeDueBackground 10s infinite; /* 25 seconds for a full cycle */
    background-size: 400% 400%; /* Smooth background transition */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin: 20px auto;
}

/* Define the background animation for premium due list */
@keyframes changeDueBackground {
    0% { background-color: #1d4e9e; }  /* Cyan Cobalt Blue */
    20% { background-color: #fbc707; } /* Mikado Yellow */
    40% { background-color: #34c759; } /* Light Green */
    60% { background-color: #ff3b30; } /* Red */
    80% { background-color: #ff9500; } /* Orange */
    100% { background-color: #1d4e9e; } /* Back to Mikado Yellow */
}

/* Styling for the Total Clients and Clients with Due Premiums sections */
/* Styling for the Total Clients and Clients with Due Premiums sections */
#clientCounts {
    animation: changeLicColors 10s infinite; /* 10 seconds cycle for smooth transition */
    background-size: 400% 400%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px auto;
    width: 90%;
    background-color: yellow;
}

/* Define the background color transition between LIC colors */

/* Styling for LIC Agent App title */
#licAgentTitle {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    background: linear-gradient(90deg, #1d4e9e, #fbc707); /* Gradient of Cyan Cobalt Blue and Mikado Yellow */
    -webkit-background-clip: text;
    color: transparent; /* The text will show the gradient */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for a premium effect */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add slight shadow for depth */
}


/* Styling for the Client List heading */
/* Styling for the Client List heading */
#cl {
    font-size: 32px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}
/* Styling for the Premium Due List heading */
#pd {
    font-size: 32px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}
/* Styling for the Total Clients heading */
#tc {
    font-size: 36px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}
/* Styling for the total clients count */

/* Styling for the Clients with Due Premiums heading */
#cd {
    font-size: 36px; /* Large font size for the heading */
    font-weight: bold; /* Bold text for emphasis */
    color: #fbc707; /* Mikado Yellow text color */
    background-color: #1d4e9e; /* Cyan Cobalt Blue background */
    padding: 10px 20px; /* Padding for a clean look */
    border-radius: 10px; /* Rounded corners for a soft, modern feel */
    text-align: center; /* Center the heading text */
    display: inline-block; /* Ensures it behaves like a block but inline */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    border: 2px solid #fbc707; /* Border matching the yellow color */
    letter-spacing: 1.2px; /* Letter spacing for elegance */
    margin-bottom: 20px; /* Adds space below the heading */
}



/* Container for the login box */


/* Container for the login box */
.login-box {
    width: 350px;
    padding: 40px;
    background-color: rgba(167, 194, 101, 0.9); /* Slightly transparent background */
    border-radius: 10px;
    box-shadow: 0 10px 8px rgba(26, 1, 1, 0.1); /* Subtle shadow for the login box */
}

/* Styling for headings */
.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333333;
}

/* Style for input fields and icon containers */
.input-container {
    position: relative;
    margin-bottom: 20px;
}

/* Input fields */
.input-container input {
    width: 100%;
    padding: 10px;
    padding-right: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Icons on the right */
/* Icon inside input fields */
.input-container .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 18px;
    pointer-events: none; /* Prevent icon from affecting input focus */
}

/* Styling the input fields */
.input-container .icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 18px;
}

/* Styling the login button */
.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #1d4e9e; /* Dark blue button */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #163d78; /* Slightly darker blue on hover */
}

/* Styling the signup link */
.login-box .signup-link {
    text-align: center;
    margin-top: 10px;
}

.login-box .signup-link a {
    color: #1d4e9e;
}

/* Media queries to ensure responsiveness */
@media (max-width: 400px) {
    .login-box {
        width: 90%;
    }
}
/*For Image*/

#image {
    width: 400px; /* Same width as the login box */
    height: auto; /* Adjust height based on content */
    background-image: url('images.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    flex-shrink: 0; /* Prevent shrinking */
}
/* Styling for LIC Agent App title */
#licAgentTitle {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    background: linear-gradient(90deg, #1d4e9e, #fbc707); /* Gradient of Cyan Cobalt Blue and Mikado Yellow */
    -webkit-background-clip: text;
    color: transparent; /* The text will show the gradient */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for a premium effect */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Add slight shadow for depth */
}
#cl {
    font-size: 32px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}
/* Styling for the Premium Due List heading */
#pd {
    font-size: 32px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}
/* Styling for the Total Clients heading */
/* Container for both total clients and due clients */
#clientCounts {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: linear-gradient(135deg, #1d4e9e 50%, #fbc707 50%); /* LIC Blue and Yellow diagonal gradient */
    border-radius: 10px;
    margin-top: 20px;
}

/* Individual client boxes */
.clients-box {
    background-color: #ffffff; /* White box for clean contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px; /* Adjust width as needed */
}

/* Styling the headings for both sections */
.clients-box h1 {
    font-size: 36px;
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    color: #fbc707; /* Mikado Yellow for premium gold-like feel */
    text-align: center;
    margin-bottom: 20px;
    background-color: #1d4e9e; /* LIC Blue background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow */
    letter-spacing: 1.2px; /* Slight spacing for luxury */
    text-transform: uppercase; /* Bold uppercase for importance */
    border: 2px solid #fbc707; /* Mikado Yellow border to add a premium outline */
}

/* Styling the count numbers */
.clients-box p {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    color: #c1d61f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #clientCounts {
        flex-direction: column;
        align-items: center;
    }
    
    .clients-box {
        width: 90%; /* Take more width on smaller screens */
        margin-bottom: 20px; /* Add space between boxes */
    }
}
/*Trash LIst*/
#trashClients {
    list-style-type: none; /* Removes the default bullet points */
    padding: 0;
    margin: 0;
}

#trashClients li {
    background-color: #f5f5f5; /* Light background for list items */
    color: #333; /* Dark text color */
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px; /* Soft rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for depth */
    display: flex;
    justify-content: space-between; /* Distribute the name and remove date */
    align-items: center;
    font-family: 'Arial', sans-serif; /* Modern font */
}

.trash-client-name {
    font-size: 18px;
    font-weight: bold;
}

.trash-remove-date {
    font-size: 14px;
    color: #888; /* Muted color for the remove date */
}

#trashClients li:hover {
    background-color: #e0e0e0; /* Slight background color change on hover */
}

/* Updated styling for the login button */
/* Container for the sliding form */
/* Updated styling for the login button */
.login-box button {
    width: 100%;
    padding: 12px;
    background-image: linear-gradient(135deg, #1d4e9e, #3b82f6); /* Gradient from blue to light blue */
    color: #ffffff;
    border: none;
    border-radius: 50px; /* Rounded corners for a pill-shaped button */
    font-size: 18px; /* Larger font for better visibility */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    font-weight: bold; /* Make text bold */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
    text-transform: uppercase; /* Uppercase text for emphasis */
}

.login-box button:hover {
    background-image: linear-gradient(135deg, #3b82f6, #1d4e9e); /* Reverse gradient on hover */
    transform: translateY(-3px); /* Slight lift effect on hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
}

.login-box button:active {
    transform: translateY(1px); /* Button presses slightly down when clicked */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Slightly reduced shadow on active */
}
