/* Sidebar Styles */
.sidebar {
    background-color: #2A2B82; /* Dark Blue */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 20px;
    padding: 20px;
}

.sidebar a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
}

.sidebar a:hover {
    background-color: #D4A017; /* Gold/Yellow hover effect */
    color: #000;
}

/* Main Content Styling */
.main-content {
    padding: 30px;
    background-color: #f9f9f9;
}

/* Main Content Styling */
.main-content h1 {
    color: #2A2B82; /* Dark Blue */
    font-size: 2.5rem; /* Size for h1 */
    font-weight: bold;
}

.main-content h2 {
    color: #2A2B82; /* Dark Blue */
    font-size: 2rem; /* Slightly smaller than h1 */
    font-weight: bold;
    margin-top: 20px; /* Add some spacing */
}

.main-content h3 {
    color: #2A2B82; /* Dark Blue */
    font-size: 1.75rem; /* Slightly smaller than h2 */
    font-weight: bold;
    margin-top: 15px; /* Add some spacing */
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-body {
    font-size: 1.1rem;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: separate; /* Changed from collapse to separate for border-radius to work */
    border-spacing: 0; /* Removes extra space between cells */
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px; /* Rounded corners for the entire table */
    overflow: hidden; /* Ensures the rounded corners are visible */
}

/* Add radius to the first and last row */
table tr:first-child th:first-child {
    border-top-left-radius: 15px;
}

table tr:first-child th:last-child {
    border-top-right-radius: 15px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #2A2B82; /* Dark Blue */
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #f0f8ff; /* Alice Blue (a soft blue) */
    color: #000;
}



/* Input Field Styling */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    border-color: #2A2B82; /* Dark Blue border on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(42, 43, 130, 0.5);
}

/* Button Styling */
.btn {
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
}

.btn-primary {
    background-color: #6c63ff;
    border-color: #6c63ff;
}

.btn-primary:hover {
    background-color: #5949d3;
}

.btn-secondary {
    background-color: #D4A017;
    border-color: #D4A017;
}

.btn-secondary:hover {
    background-color: #b5850b;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-warning {
    background-color: #f39c12;
    border-color: #f39c12;
}

.btn-warning:hover {
    background-color: #d4880d;
}

/* Quick Actions Styling */
.quick-actions {
    margin-top: 20px;
}

.quick-actions .col-md-3 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.quick-actions a {
    color: #fff;
    padding: 12px;
    display: block;
    text-align: center;
    font-size: 1.1rem;
}

/* Overview Cards Styling */
.card-primary {
    background-color: #6c63ff;
    color: white;
}

.card-success {
    background-color: #28a745;
    color: white;
}

.card-danger {
    background-color: #dc3545;
    color: white;
}

.card .card-title a {
    color: inherit;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.card .card-title a:hover {
    text-decoration: underline;
}

/* Recent Activity Styling */
.list-group-item {
    font-size: 1.1rem;
    background-color: #fff;
    border-left: 5px solid #2A2B82;
    padding: 15px;
    margin-bottom: 10px;
}

.list-group-item:hover {
    background-color: #f4f4f9;
    cursor: pointer;
}

/* Footer Styling */
.footer {
    padding: 20px;
    background-color: #2A2B82;
    color: white;
    text-align: center;
    margin-top: 20px;
}
