/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

body.dark-mode {
    background-color: #080710;
    font-family: 'Poppins', sans-serif;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    margin-top: 60px;
}

/* Header Styles */
.header, .navbar {
    background-color: #343a40;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: rgba(169, 169, 169, 0.7); /* Dark grey with 70% opacity */
}

.navbar a {
    color: #0c2c68;
    text-decoration: none;
    padding: 0 1rem;
}

.navbar a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    padding: 1rem 0;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: rgba(169, 169, 169, 0.7); /* Dark grey with 70% opacity */
    color: white;
    padding: 10px;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #343a40;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
    transition: all 0.3s;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar .sidebar-header {
    padding: 20px;
    background-color: #212529;
}

.sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 20px;
}

.sidebar ul.components {
    padding: 20px 0;
}

.sidebar ul p {
    color: #ffffff;
    padding: 10px;
}

.sidebar ul li {
    padding: 10px;
    font-size: 16px;
    display: block;
    color: #ffffff;
}

.sidebar ul li a {
    color: #ffffff;
    display: block;
    padding: 10px;
    text-decoration: none;
}

.sidebar ul li a:hover {
    background: #1e7e34;
    color: white;
}

.sidebar ul li.active > a, a[aria-expanded="true"] {
    background: #1e7e34;
    color: white;
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.3s;
}

.main-content.collapsed {
    margin-left: 80px;
}

/* Form Styles */
.form-container, form {
    background: #ffffff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

form {
    width: 100%;
    padding: 50px 35px;
    box-sizing: border-box;
}

.form-container h3, form h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

.form-group, label {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    background-color: rgba(255, 255, 255, 0.07);
}

textarea {
    resize: none;
    height: 100px;
    padding: 10px;
}

input[type="file"] {
    padding: 3px;
}

button,
.btn {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-radius: 5px;
    color: #080710;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px;
    font-weight: 600;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 10px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.table th {
    background-color: #343a40;
    color: white;
}

.table thead {
    background-color: #696969; /* Dark grey */
    color: white;
}

/* Notifications Styles */
.notification {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.warning {
    background-color: #ffc107;
    color: #212529;
}

.notification.info {
    background-color: #17a2b8;
}

/* Profile Styles */
.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.profile-container img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.profile-container h3 {
    margin: 0;
    font-size: 24px;
    color: #343a40;
}

/* Image Placeholder Styles */
.image-placeholder {
    width: 200px;
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.image-placeholder img {
    max-width: 100%;
    max-height: 100%;
}

/* Background and Shape Styles */
.background {
    width: 430px;
    height: 520px;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.background .shape {
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 50%;
}

.shape:first-child {
    background: linear-gradient(#1845ad, #23a2f6);
    left: -80px;
    top: -80px;
}

.shape:last-child {
    background: linear-gradient(to right, #ff512f, #f09819);
    right: -30px;
    bottom: -80px;
}

/* Media Queries */
@media (max-width: 768px) {
    .sidebar {
        width: 80px;
    }

    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 576px) {
    .header, .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .header .logo {
        margin-bottom: 10px;
    }
}

/* Alert Styles */
.alert {
    margin-top: 20px;
}
