/* Font-face for custom font */
@font-face {
    font-family: 'open_sansregular';
    src: url('opensans-regular-webfont.woff2') format('woff2'),
         url('opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'open_sansregular', Arial, sans-serif;
    background-color: #f4f7fc; /* Light background */
    color: #333; /* Neutral text color */
}

.clearer {
    clear: both;
    display: block;
    width: 100%;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse; /* Modern table styling */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #e0e0e0; /* Light border */
    padding: 12px;
    text-align: left;
}

th {
    background-color: #702b79; /* Header color */
    color: #fff;
    font-weight: bold;
}

td {
    color: #555; /* Softer text for table rows */
}

i {
    color: #555;
    font-size: 13px; /* Slightly larger and modern */
}

/* Logo styles */
#logo {
    width: 180px;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Main container */
#main {
    width: 80%; /* Responsive width */
    max-width: 1200px; /* Maximum width for larger screens */
    margin: 20px auto;
    font-family: 'open_sansregular', Arial, sans-serif;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden;
}

/* Alerts and notes */
span {
    color: #e74c3c; /* Modern red */
    font-weight: bold;
}

textarea {
    resize: none;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Header styling */
h2 {
    background-color: #702b79;
    text-align: center;
    color: #fafafa;
    border-radius: 10px 10px 0 0;
    margin: 0;
    padding: 15px;
    font-weight: bold;
    font-size: 22px;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Horizontal line */
hr {
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

/* Login form */
#login {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 50px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Input fields */
input[type=text], input[type=password], input[type=email], input[type=number], input[type=date] {
    width: 100%;
    padding: 11px;
    padding-right: 0px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'open_sansregular', Arial, sans-serif;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'open_sansregular', Arial, sans-serif;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* Submit button */
input[type=submit] {
    width: 100%;
    background-color: #702b79;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.submit-btn {
    height: 50px;
    background-color: #702b79;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

input[type=submit]:hover {
    background-color: #5a2164; /* Darker purple for hover effect */
}

/* Profile box */
#profile {
    padding: 30px;
    border: 1px dashed #ccc;
    font-size: 18px;
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #333;
}

/* Logout button */
#logout {
    float: right;
    padding: 5px 10px;
    border: 1px dashed #ccc;
    border-radius: 5px;
    color: #333;
    background-color: #f4f4f4;
    cursor: pointer;
    font-size: 14px;
}

/* Links */
a {
    text-decoration: none;
    color: #3498db; /* Modern blue */
    transition: color 0.2s ease;
}

a:hover {
    color: #2c7abf; /* Darker hover */
}

.button-group {
    display: flex;
    gap: 5px; /* Adjust spacing between buttons */
    align-items: center; /* Align buttons vertically */
}

.button-group button {
    padding: 5px 10px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

/* General Button Styling */
.edit-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

/* Edit Button (Green) */
.edit-btn {
    background-color: #4CAF50;
    color: white;
}

.edit-btn:hover {
    background-color: #45a049;
}

/* General Button Styling */
.delete-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}


/* Delete Button (Red) */
.delete-btn {
    background-color: #e74c3c;
    color: white;
}

.delete-btn:hover {
    background-color: #c0392b;
}

.container {
    display: flex;
    gap: 20px;
}
.card-widget {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 12px;
   
    width: 250px;
    padding: 20px;
    text-align: left;
    font-family: Arial, sans-serif;
    color: white;
    position: relative;
}
.card-widget:nth-child(2) { background: linear-gradient(135deg, #a4508b, #5f0a87); }
.card-widget:nth-child(3) { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.card-widget:nth-child(4) { background: linear-gradient(135deg, #ff00cc, #333399); }
.card-widget:nth-child(5) { background: linear-gradient(135deg, #006356, #9393da); }
.card-widget:nth-child(6) { background: linear-gradient(135deg, #750202, #f3c7db); }
.icon {
    font-size: 18px;
    position: absolute;
    top: 10px;
    left: 10px;
}
.card-widget  .card-widget-title {
    display: block;
    font-size: 1em;
    font-weight: bold;
    margin: 10px 0;
    color: white;
}
.number {
    font-size: 2em;
    font-weight: bold;
}

.chart-container {
    width: 100%;
    max-width: 8    00px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
select, button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}