
/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
}

/* Tab Content */
.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

/* Status Badges */
.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-pending {
    background-color: #fef9c3;
    color: #854d0e;
}

.status-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Priority Indicators */
.priority-critical {
    background-color: #ef4444;
}

.priority-high {
    background-color: #f97316;
}

.priority-medium {
    background-color: #eab308;
}

.priority-low {
    background-color: #22c55e;
}

/* Stage Colors */
.stage-discovery {
    background-color: #dbeafe;
    color: #1e40af;
}

.stage-qualified {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.stage-proposal {
    background-color: #fef9c3;
    color: #854d0e;
}

.stage-negotiation {
    background-color: #ffe5b4;
    color: #ea580c;
}

.stage-closed {
    background-color: #dcfce7;
    color: #166534;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-hidden {
    display: none;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

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

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

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

input:checked + .toggle-slider {
    background-color: #3b82f6;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    nav .flex {
        flex-wrap: wrap;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-button svg {
        margin-right: 0;
    }
}
