body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; 
    display: flex;
    font-size: 0.8rem;
}

.sidebar {
    background-color: #1a202c;
    color: white;
    width: 12.8rem; 
    min-height: 100vh;
    padding: 0.8rem; 
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.6rem;
}

.sidebar-header h1 {
    font-size: 1rem; 
    font-weight: 700; 
}

.sidebar-logo {
    color: #48bb78; 
    height: 1.6rem; 
    width: 1.6rem; 
    margin-right: 0.6rem;
    flex-shrink: 0;
}

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

.sidebar nav li {
    margin-bottom: 0.4rem; 
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.6rem; 
    border-radius: 0.5rem; 
    text-decoration: none;
    color: white;
    transition: background-color 0.2s;
}

.sidebar-link:hover {
    background-color: #2d3748;
}

.sidebar-link.active {
    background-color: #2d3748;
    border-left: 4px solid #48bb78;
    padding-left: calc(0.6rem - 4px);
}

.sidebar-link.disabled {
    color: #9ca3af; 
    cursor: not-allowed;
}

.sidebar-link.disabled:hover {
    background-color: transparent;
}

.sidebar-link svg {
    height: 1rem; 
    width: 1rem; 
    margin-right: 0.6rem; 
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    padding: 1.6rem; 
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem; 
}

.main-header h2 {
    font-size: 1.5rem; 
    font-weight: 700;
    color: #1f2937; 
}

.search-container {
    position: relative;
}

.search-input {
    padding-left: 2rem; 
    padding-right: 0.8rem; 
    padding-top: 0.4rem; 
    padding-bottom: 0.4rem;
    border: 1px solid #d1d5db; 
    border-radius: 9999px;
    width: 12.8rem; 
    font-size: 0.8rem;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #48bb78; 
}

.search-icon {
    position: absolute;
    left: 0.6rem; 
    top: 50%;
    transform: translateY(-50%);
    height: 1rem; 
    width: 1rem; 
    color: #9ca3af; 
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.6rem; 
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    display: block;
    background-color: white;
    padding: 1.2rem; 
    border-radius: 0.75rem; 
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 
    transition: box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); 
}

.card.disabled {
    background-color: #e5e7eb;
    cursor: not-allowed;
}

.card.disabled:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.card-icon-wrapper {
    padding: 0.6rem; 
    border-radius: 9999px; 
    margin-right: 0.8rem; 
    background-color: #d1fae5;
}

.card.disabled .card-icon-wrapper {
    background-color: #d1d5db; 
}

.card-header svg {
    height: 1.2rem; 
    width: 1.2rem; 
    color: #059669; 
}

.card.disabled .card-header svg {
    color: #6b7280; 
}

.card-header h3 {
    font-size: 1rem; 
    font-weight: 600; 
    color: #1f2937; 
}

.card.disabled .card-header h3 {
    color: #6b7280; 
}

.card p {
    color: #4b5563; 
    font-size: 0.8rem;
}

.card.disabled p {
    color: #6b7280; 
}

.sidebar svg {
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke: currentColor;
}
