/* ???????????????????????????????????????????????????????????????????????????
   PAGE HEADER - Compact with 3D Icons
   ??????????????????????????????????????????????????????????????????????????? */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #3F51B5, #7C3AED, transparent) 1;
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.page-header:hover .page-header-icon {
    transform: scale(1.1) rotate(-3deg);
}

.page-header-icon-fallback {
    font-size: 28px;
    color: #3F51B5;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

.page-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ???????????????????????????????????????????????????????????????????????????
   OVERRIDE DEFAULT H1 STYLES FOR PAGES
   ??????????????????????????????????????????????????????????????????????????? */

.content h1 {
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    margin-bottom: 12px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #3F51B5, #7C3AED, transparent) 1;
    background: linear-gradient(135deg, #1a1a2e 0%, #3F51B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content h1 i {
    font-size: 1.5rem;
    -webkit-text-fill-color: #3F51B5;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

/* For pages using img icons in h1 */
.content h1 img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ???????????????????????????????????????????????????????????????????????????
   RESPONSIVE
   ??????????????????????????????????????????????????????????????????????????? */

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-header-title,
    .content h1 {
        font-size: 1.15rem;
    }

    .page-header-icon,
    .content h1 img {
        width: 28px;
        height: 28px;
    }
}