/* Styling for Reusable Component Container Pages (Copied from Dialog Form Design) */

.component-container {
    border-radius: 6px;
    overflow: visible;
    /* Changed from hidden to fix dropdown clipping */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #C4C4C4;
    margin-bottom: 2rem;
}

.component-header {
    height: 60px;
    /* Slightly taller for page headers compared to modal */
    background: linear-gradient(135deg, var(--header-footer-bg) 0%, #0d285a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: #ffffff;
}

.component-header-icon {
    font-size: 2.0rem;
    margin-right: 0.8rem;
    top: 3px;
    position: relative;
    color: #ffffffd6 !important;
}

.component-header-title {
    letter-spacing: 0.5px;
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: bold;
    color: #ffffffd6;
}

.component-header-subtitle {
    opacity: 0.8;
    font-size: 0.75rem;
    line-height: 0.8;
    top: 0px;
    position: relative;
    margin-bottom: 0;
}

.component-body {
    background-color: #f8fafc;
    padding: 2rem 1.5rem;
    overflow: visible;
}

.component-footer {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}