body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
}

.navbar-brand {
    font-size: 1.3rem;
}

.card {
    border: none;
    border-radius: 12px;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

.stat-card {
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proposal-card {
    transition: box-shadow 0.2s;
    border-left: 4px solid #0d6efd;
}

.proposal-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proposal-card .badge {
    font-size: 0.75rem;
}

.status-draft {
    background-color: #ffc107;
    color: #000;
}

.status-final {
    background-color: #198754;
}

.btn-generate {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn-generate:hover {
    background: linear-gradient(135deg, #0b5ed7, #520dc2);
    color: white;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.search-bar {
    max-width: 400px;
}

.proposal-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background: white;
    max-height: 70vh;
    overflow-y: auto;
}
