/**
 * Premium Partners Display Styles
 *
 * Styles for the premium partners call-to-action section
 * displayed after successful form submission.
 *
 * @package LeadsManager
 */

/* Container */
.lm-premium-partners-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header */
.lm-premium-partners-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #dee2e6;
}

.lm-premium-partners-header .lm-premium-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
    color: #28a745;
}

.lm-premium-partners-header .lm-premium-icon svg {
    width: 32px;
    height: 32px;
}

.lm-premium-partners-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    line-height: 1.4;
}

.lm-premium-partners-header h3 .lm-heading-line-1,
.lm-premium-partners-header h3 .lm-heading-line-2 {
    display: block;
}

.lm-premium-partners-header h3 .lm-heading-line-1 {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.lm-premium-partners-header h3 .lm-heading-line-2 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

/* Partners List */
.lm-premium-partners-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Partner Card - Vertical Stack Layout */
.lm-premium-partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lm-premium-partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Partner Logo */
.lm-partner-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lm-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partner Info */
.lm-partner-info {
    width: 100%;
}

.lm-partner-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

.lm-partner-services,
.lm-partner-location {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lm-service-icon,
.lm-location-icon {
    font-size: 14px;
}

/* Partner CTA Container */
.lm-partner-cta {
    width: 100%;
    margin-top: 8px;
}

/* Call Now Button */
.lm-call-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    white-space: nowrap;
}

.lm-call-now-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.lm-call-now-btn:active {
    transform: scale(0.98);
}

.lm-call-now-btn .lm-call-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

.lm-call-now-btn .lm-phone-number {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Pulse Animation for Phone Icon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .lm-premium-partners-section {
        padding: 20px 15px;
    }

    .lm-premium-partners-header h3 .lm-heading-line-1 {
        font-size: 16px;
    }

    .lm-premium-partners-header h3 .lm-heading-line-2 {
        font-size: 20px;
    }

    .lm-premium-partner-card {
        padding: 15px;
    }

    .lm-call-now-btn {
        padding: 16px 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .lm-premium-partners-header .lm-premium-icon {
        font-size: 28px;
    }

    .lm-premium-partners-header h3 .lm-heading-line-1 {
        font-size: 14px;
    }

    .lm-premium-partners-header h3 .lm-heading-line-2 {
        font-size: 18px;
    }

    .lm-partner-name {
        font-size: 16px;
    }

    .lm-partner-services,
    .lm-partner-location {
        font-size: 13px;
    }
}

/* Dark Mode Support (if theme supports it) */
@media (prefers-color-scheme: dark) {
    .lm-premium-partners-section {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        border-color: #4a5568;
    }

    .lm-premium-partners-header {
        border-bottom-color: #4a5568;
    }

    .lm-premium-partners-header h3 .lm-heading-line-1 {
        color: #a0aec0;
    }

    .lm-premium-partners-header h3 .lm-heading-line-2 {
        color: #f7fafc;
    }

    .lm-premium-partner-card {
        background: #2d3748;
        border-color: #4a5568;
    }

    .lm-partner-name {
        color: #f7fafc;
    }

    .lm-partner-services,
    .lm-partner-location {
        color: #a0aec0;
    }

    .lm-partner-logo {
        background: #4a5568;
    }
}

/* Print Styles */
@media print {
    .lm-premium-partners-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }

    .lm-call-now-btn {
        background: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .lm-call-now-btn::after {
        content: " (" attr(href) ")";
        font-size: 12px;
    }
}
