/* ============================================
   ADMINISTRATION PAGE STYLES
   Two-column layout: Directions list + Personnel details
   ============================================ */

:root {
    --green: #0E8040;
    --dark-green: #0A6030;
    --red: #ED2024;
    --white: #FFFFFF;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --border-gray: #E0E0E0;
    --gold: #D4AF37;
}

/* ============================================
   SECTION LAYOUT
   ============================================ */

body {
    background-color: #F5F5F5;
}

.administration-section {
    padding: 4rem 0;
}

.administration-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   LEFT COLUMN: DIRECTIONS SIDEBAR
   ============================================ */

.directions-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.directions-list {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.direction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.direction-item:last-child {
    border-bottom: none;
}

.direction-item:hover {
    background-color: var(--light-gray);
    padding-left: 2rem;
}

.direction-item.active {
    background-color: var(--green);
    color: var(--white);
    font-weight: 600;
}

.direction-item.active:hover {
    background-color: var(--dark-green);
}

.direction-name {
    flex: 1;
    line-height: 1.4;
}

.direction-item i {
    font-size: 0.875rem;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.direction-item:hover i {
    transform: translateX(5px);
}

.direction-item.active i {
    opacity: 1;
}

/* ============================================
   RIGHT COLUMN: PERSONNEL CONTENT
   ============================================ */

.personnel-content {
    min-height: 500px;
}

.personnel-header {
    margin-bottom: 3rem;
}

.personnel-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.personnel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--white) 0%, var(--white) 33%, var(--red) 33%, var(--red) 66%, var(--green) 66%, var(--green) 100%);
    border-radius: 2px;
}

.personnel-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
    text-align: justify;
    max-width: 900px;
}

/* ============================================
   PERSONNEL CARDS
   ============================================ */

.personnel-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.personnel-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.personnel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

/* Photo */
.personnel-photo-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.personnel-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.personnel-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green) 0%, var(--dark-green) 100%);
    color: var(--white);
    font-size: 3rem;
}

/* Info */
.personnel-info {
    flex: 1;
    min-width: 0;
}

.personnel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.personnel-position {
    font-size: 0.9rem;
    color: var(--green);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.personnel-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
}

.personnel-detail i {
    color: var(--green);
    font-size: 0.875rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--medium-gray);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-gray);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1320px) {
    .administration-grid {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }

    .personnel-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .administration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .directions-sidebar {
        position: static;
    }

    .directions-list {
        max-height: 400px;
        overflow-y: auto;
    }

    .personnel-title {
        font-size: 1.75rem;
    }

    .personnel-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .administration-section {
        padding: 2rem 0;
    }

    .personnel-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .personnel-photo-wrapper {
        width: 100px;
        height: 100px;
    }

    .personnel-info {
        width: 100%;
    }

    .personnel-detail {
        justify-content: center;
    }

    .personnel-title {
        font-size: 1.5rem;
    }

    .direction-item {
        font-size: 0.875rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .personnel-card {
        padding: 1.25rem;
    }

    .personnel-photo-wrapper {
        width: 80px;
        height: 80px;
    }

    .personnel-name {
        font-size: 1rem;
    }

    .personnel-position {
        font-size: 0.85rem;
    }
}

/* ============================================
   DYNAMIC PAGE CONTENT (Matches page_simple.html)
   ============================================ */

.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.content-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0px 4px 70px 0px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    margin-bottom: 2rem;
}

.content-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.content-card h5,
.content-card h6 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-card h1 {
    font-size: 2rem;
}

.content-card h2 {
    font-size: 1.5rem;
}

.content-card h3 {
    font-size: 1.25rem;
}

.content-card h4 {
    font-size: 1.1rem;
}

.content-card ul,
.content-card ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--medium-gray);
    line-height: 1.8;
}

.content-card li {
    margin-bottom: 0.5rem;
}

.content-card strong,
.content-card b {
    color: var(--dark-gray);
    font-weight: 600;
}

.content-card a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.content-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.content-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-card th,
.content-card td {
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    text-align: left;
}

.content-card th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--dark-gray);
}

.content-card blockquote {
    border-left: 4px solid var(--green);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--medium-gray);
}

@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem;
    }

    .content-card h1 {
        font-size: 1.5rem;
    }
}