:root {
    --primary-color: #1a1a1a;
    --secondary-color: #007bff;
    --bg-color: #f4f5f7;
    --text-color: #333;
    --light-bg-color: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
    --font-size: 14px;
    --font-size-lg: 16px;
    --font-weight-bold: 700;
    --font-weight-normal: 400;
}


body {
    background-color: var(--bg-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--text-color);
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    border-bottom: 1px solid #444;
}

.navbar-brand {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: #fff;
}

.navbar-nav .nav-link {
    font-size: var(--font-size);
    color: #fff;
    margin: 0 1rem;
    transition: none !important;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-toggler {
    margin-left: auto;
    border: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.section-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: var(--border-radius);
}

.section-header h2 {
    margin: 0;
    font-size: var(--font-size-lg);
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: var(--light-bg-color);
    box-shadow: var(--box-shadow);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--light-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle !important;
    font-size: var(--font-size);
    color: var(--text-color);
}

.table th {
    background-color: var(--bg-color);
    font-weight: var(--font-weight-bold);
}

.table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: var(--font-size-sm);
}

.badge-blue {
    background-color: var(--secondary-color);
    color: white;
}

.badge-green {
    background-color: #28a745;
    color: white;
}

.badge-red {
    background-color: #dc3545;
    color: white;
}

.badge-yellow {
    background-color: #ffc107;
    color: black;
}

.list-container {
    background-color: var(--light-bg-color);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.card-custom {
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.card-title {
    font-size: var(--font-size-lg);
}

.card-text:last-child {
    margin-bottom: 0;
    text-align: center;
}

.card-header,
.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-content {
    border-radius: var(--border-radius);
}

.modal-fullscreen {
    max-width: 800px;
    width: 90%;
    margin: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--light-bg-color);
    position: relative;
}

.modal-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.modal-body {
    display: flex;
    gap: 20px;
    padding: 25px;
    flex-direction: row;
}

.lead-info,
.send-form {
    width: 50%;
}

.lead-info h5,
.send-form h5 {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.lead-info p,
.send-form label {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.send-form label {
    font-weight: var(--font-weight-bold);
    margin-top: 10px;
}

.send-form input[type="file"] {
    font-size: 0.9rem;
    padding: 8px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    width: 100%;
    transition: border-color 0.3s ease;
}

#budgetList,
#attachmentList {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    box-shadow: var(--box-shadow);
}

.file-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.file-item button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
}

.file-item button:hover {
    background-color: #c82333;
}

/* Responsivo para móvil: disposición en columna */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }
    .lead-info,
    .send-form {
        width: 100%;
    }
}

.summary-card.yellow {
    background-color: #ffcc00; /* Contactados */
}

.summary-card.blue {
    background-color: #007bff; /* En Seguimiento */
}

.card-custom.yellow {
    border-color: #ffcc00; /* Contactados */
}

.card-custom.blue {
    border-color: #007bff; /* En Seguimiento */
}
