/* Frontend Leads Styles */
.lead-manager-leads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.lead-manager-leads-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4a6cf7;
}

.lead-manager-leads-header h2 {
    color: #2d3748;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.lead-manager-leads-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #4a6cf7;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.lead-manager-leads-filters {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.lead-manager-leads-filters select {
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lead-manager-leads-filters select:hover {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 1px #4a6cf7;
}

/* List layout */
.lead-manager-leads-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.lead-item {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lead-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lead-info {
    flex: 2 1 60%;
    padding-right: 30px;
}

.lead-contact {
    flex: 1 1 30%;
    border-left: 1px solid #e1e4e8;
    padding-left: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
}

.lead-contact h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e4e8;
}

.contact-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-name i {
    color: #2271b1;
    font-size: 20px;
}

.contact-detail {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-detail i {
    width: 16px;
    text-align: center;
    color: #666;
}

.lead-title-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.lead-title {
    font-size: 20px;
    color: #1d2327;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.lead-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.lead-label {
    background: #f15b29;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 0 18px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    white-space: nowrap;
    margin: 0;
    line-height: 38px;
    position: relative;
    top: 5px;
}

.lead-request-btn {
    margin-top: 0;
    white-space: nowrap;
}

.lead-item hr {
    margin: 0 0 25px 0;
    border: none;
    border-top: 1px solid #e2e8f0;
}

.lead-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px 25px;
    font-size: 14px;
    padding-top: 5px;
}

.lead-details-list li {
    display: flex;
    align-items: center;
    padding: 6px 0;
    gap: 8px;
    min-height: 30px;
    align-items: flex-start;
}

.lead-details-list li i {
    color: #2271b1;
    width: 20px;
    text-align: left;
    flex-shrink: 0;
}

.detail-label {
    color: #000000; /* Changed to black */
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500; /* Making it slightly bolder for better visibility */
}

.detail-value {
    color: #1d2327;
    font-weight: 600;
    word-break: break-word;
}

.lead-details-list li i {
    margin-right: 10px;
    color: #2271b1;
    width: 18px;
    text-align: center;
}

.lead-contact p i {
    margin-right: 6px;
    color: #666;
}

.lead-request-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2271b1;
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.lead-request-btn:hover {
    background: #135e96;
}

.lead-manager-no-leads {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .lead-manager-leads-header {
        flex-direction: column;
    }
    .lead-item {
        flex-direction: column;
    }
    .lead-contact {
        border-left: none;
        border-top: 1px solid #e1e4e8;
        padding-left: 0;
        padding-top: 15px;
        margin-top: 15px;
    }
}