body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.container {
    display: flex;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.sidebar {
    width: 220px;
    background-color: #252525;
    padding: 20px;
    transition: width 0.3s;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: #007bff;
}

.content {
    flex-grow: 1;
    padding: 20px;
    transition: padding 0.3s;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

p {
    font-size: 16px;
    color: #b3b3b3;
}

/* Uniform input styles */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
select,
textarea {
    width: 100%;
    max-width: 300px; /* Set a uniform maximum width */
    height: 40px; /* Set a consistent height */
    padding: 10px;
    margin-bottom: 15px;
    background-color: #333;
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    transition: border-color 0.3s;
}

textarea {
    height: 80px; /* Set a consistent height for textarea */
}

input:focus,
select:focus {
    outline: none;
    border-color: #007bff;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Toggle switch styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #007bff;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Form layout */
form {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    gap: 15px; /* Space between elements */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%; /* Full width sidebar on mobile */
        height: auto;
    }

    .content {
        padding: 10px;
    }
}
