.crm-container {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-main);
}

.crm-header {
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 2rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.crm-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.crm-header h1 svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.crm-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.crm-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.crm-module-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 2px solid transparent;
}

.crm-module-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.crm-module-card i[data-lucide] {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.crm-module-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast i[data-lucide] {
    width: 24px;
    height: 24px;
}
