/* Coat of Arms Styling
   This CSS file handles all styling related to displaying Trust Coat of Arms
   throughout the application */

/* Trust details page coat of arms container */
.trust-coat-of-arms-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

/* Common coat of arms image styling */
.trust-coat-of-arms, 
.coat-of-arms-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

/* Settings page specific styling */
.trust-coat-of-arms-display {
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* Coat of arms on hover effects */
.trust-coat-of-arms:hover,
.coat-of-arms-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* Smaller variant for dashboard cards */
.dashboard-coat-of-arms {
    max-height: 120px;
    margin-bottom: 0.75rem;
}

/* Error state placeholder */
.coat-of-arms-placeholder {
    width: 100%;
    max-width: 150px;
    height: 150px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 auto 1rem;
}

/* Modal preview for larger coat of arms display */
.coat-of-arms-modal .modal-body {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.02);
    padding: 2rem;
}

.coat-of-arms-modal .modal-body img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}