/* Agent Information Display Enhancements */
.agent-details .agent-image img {
    border: 2px solid #dee2e6;
}

.agent-details .agent-name h5 {
    color: #2c3e50;
    font-weight: 600;
}

.agent-details .agent-license {
    background-color: #e3f2fd;
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid #2196f3;
}

.agent-details .agent-company {
    background-color: #f3e5f5;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid #9c27b0;
}

.agent-details .company-details small {
    line-height: 1.4;
}

.agent-details .contact-buttons .btn {
    margin-right: 8px;
    margin-bottom: 5px;
}

.agent-details .contact-buttons .btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

.agent-details .contact-buttons .btn-success:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.agent-details .agent-social-media .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agent-details .d-flex {
        flex-direction: column;
    }

    .agent-details .agent-image {
        margin-bottom: 15px;
        text-align: center;
    }

    .agent-details .contact-buttons {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .agent-details {
        border: 1px solid #000;
        background-color: transparent !important;
    }

    .agent-details .contact-buttons .btn {
        border: 1px solid #000;
        color: #000 !important;
        background-color: transparent !important;
    }
}
/*
Enhanced agent information styles */
.agent-enhanced-info {
    padding: 10px 0;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #666;
}

.agent-enhanced-info .agent-license-info {
    margin-bottom: 5px;
    font-weight: 500;
}

.agent-enhanced-info .agent-company-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.agent-enhanced-info .agent-company-license {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 3px;
}

.agent-enhanced-info .agent-branch-address {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 3px;
}

.agent-enhanced-info .agent-company-phone a {
    color: #007cba;
    text-decoration: none;
}

.agent-enhanced-info .agent-company-phone a:hover {
    text-decoration: underline;
}

/* Mobile specific styles */
.mobile-property-contact .agent-license,
.mobile-property-contact .agent-company {
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

/* Contact form modal styles */
.agent-information .agent-license,
.agent-information .agent-company {
    font-size: 0.85em;
    color: #666;
    margin-top: 3px;
}

.agent-information .agent-license i,
.agent-information .agent-company i {
    color: #007cba;
}

/* Property form enhanced info styles */
.property-form .agent-enhanced-info {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 12px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.property-form .agent-enhanced-info .agent-license-info {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.property-form .agent-enhanced-info .agent-company-name {
    color: #495057;
    font-weight: 600;
    margin-bottom: 5px;
}/* Agency
Logo Styles */
.agent-agency-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.agent-agency-logo.logo-small {
    padding: 4px;
}

.agent-agency-logo.logo-medium {
    padding: 8px;
}

.agent-agency-logo.logo-large {
    padding: 12px;
}

.agent-agency-logo .agency-logo-img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.agent-agency-logo.logo-small .agency-logo-img {
    max-height: 30px;
    max-width: 80px;
}

.agent-agency-logo.logo-large .agency-logo-img {
    max-height: 60px;
    max-width: 180px;
}

.agent-agency-logo .agency-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.agent-agency-logo.agency-name-only {
    justify-content: center;
    background-color: #f5f5f5;
    border-style: dashed;
}

.agent-agency-logo.agency-name-only .company-name {
    font-weight: 600;
    color: #666;
}

.agency-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.agency-logo-link:hover .agency-logo-img {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Agent Info Card Styles */
.agent-info-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.agent-info-card .agent-basic-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.agent-info-card .agent-name {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.agent-info-card .agent-license-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e3f2fd;
    border-radius: 4px;
    border-left: 3px solid #2196f3;
}

.agent-info-card .agent-company-info {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f3e5f5;
    border-radius: 4px;
    border-left: 3px solid #9c27b0;
}

.agent-info-card .agent-company-info p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.agent-info-card .agent-contact-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.agent-info-card .agent-contact-options .btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.agent-info-card .agent-email-btn {
    background-color: #007cba;
    color: #fff;
    border: 1px solid #007cba;
}

.agent-info-card .agent-email-btn:hover {
    background-color: #005a87;
    border-color: #005a87;
    color: #fff;
}

.agent-info-card .agent-whatsapp-btn {
    background-color: #25d366;
    color: #fff;
    border: 1px solid #25d366;
}

.agent-info-card .agent-whatsapp-btn:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agent-agency-logo {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .agent-info-card .agent-contact-options {
        flex-direction: column;
    }

    .agent-info-card .agent-contact-options .btn {
        width: 100%;
        text-align: center;
    }
}

/* Property Listing Integration */
.property-agent-info .agent-agency-logo {
    margin: 5px 0;
    padding: 6px;
}

.property-agent-info .agent-agency-logo .agency-logo-img {
    max-height: 30px;
    max-width: 100px;
}

.property-listing-card .agent-agency-logo {
    margin: 8px 0;
}

.property-listing-card .agent-agency-logo .agency-logo-img {
    max-height: 25px;
    max-width: 80px;
}