/* Contact Us Modal Component Styles */

/* Ensure modal is centered */
.budi-contact-modal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 2rem);
    margin: 1rem auto;
}

/* Custom header styling without close button */
.budi-contact-modal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.budi-contact-modal .modal-title {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
    color: var(--neutral-black);
}

.budi-contact-modal .modal-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.budi-contact-modal__content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.budi-contact-modal__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.budi-contact-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6;
    border-radius: 50%;
    flex-shrink: 0;
}

.budi-contact-modal__icon img {
    width: 20px;
    height: 20px;
    filter: invert(12%) sepia(73%) saturate(5773%) hue-rotate(318deg) brightness(95%) contrast(102%);
}

.budi-contact-modal__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.budi-contact-modal__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

.budi-contact-modal__value {
    font-size: 1rem;
    color: var(--neutral-black);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.budi-contact-modal__value:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Override the initial dialog sizing set above for specific max-width */
.budi-contact-modal .modal-dialog {
    max-width: 400px;
}

@media (max-width: 576px) {
    .budi-contact-modal .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
        min-height: calc(100vh - 2rem);
    }
    
    .budi-contact-modal .modal-header {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .budi-contact-modal .modal-body {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .budi-contact-modal__info-item {
        gap: 0.75rem;
    }
    
    .budi-contact-modal__icon {
        width: 36px;
        height: 36px;
    }
    
    .budi-contact-modal__icon img {
        width: 18px;
        height: 18px;
    }
}
