﻿
/*  REGISTRAR CONTACT PAGE */
.registrar-page {
    padding: 40px 0 70px;
    background: #f5f7fa;
}


/*  PAGE HEADER */

.registrar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 30px;
    margin-bottom: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.registrar-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.registrar-header-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
    color: #0d4f8b;
    border-radius: 12px;
    font-size: 25px;
}

.registrar-header h1 {
    margin: 0 0 5px;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.registrar-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


/*  OFFICER LOGIN */

.officer-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: #0d4f8b;
    color: #ffffff !important;
    border: 1px solid #0d4f8b;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}

    .officer-login-btn:hover {
        background: #5383d3;
        border-color: #5383d3;
        color: #ffffff !important;
    }


/*   QUICK ACCESS  */

.quick-access {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
}

.quick-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef3ff;
    color: #0d4f8b;
    font-size: 21px;
}

.quick-card h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.quick-card p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.virtual-office-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 5px;
    padding: 7px 13px;
    background: #f0f4ff;
    color: #0d4f8b !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}


/*  SECTION TITLE */

.section-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

    .section-title i {
        margin-right: 8px;
        color: #0d4f8b;
    }


/*  OFFICER GRID */

.officer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}


/*  OFFICER CARD */

.officer-card {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
    transition: all .25s ease;
}

    .officer-card:hover {
        transform: translateY(-4px);
        border-color: #d1d5db;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }


/*  OFFICER PHOTO  */

.officer-photo {
    width: 100px;
    height: 100px;
    min-width: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}


/*   OFFICER INFORMATION */

.officer-info {
    flex: 1;
    min-width: 0;
}

    .officer-info h3 {
        margin: 0 0 7px;
        font-size: 16px;
        line-height: 1.4;
        font-weight: 700;
        color: #1f2937;
    }

.officer-position {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #0d4f8b;
    font-weight: 600;
}

.officer-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

    .officer-detail i {
        width: 15px;
        margin-top: 2px;
        color: #9ca3af;
    }

    .officer-detail a {
        color: #6b7280;
        text-decoration: none;
    }

        .officer-detail a:hover {
            color: #1d4ed8;
        }


/*  OFFICE INFORMATION */

.office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.office-info-card,
.map-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.035);
    overflow: hidden;
}

.office-info-card {
    padding: 25px;
}

.office-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f5;
}

    .office-item:first-child {
        padding-top: 0;
    }

    .office-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.office-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3ff;
    color: #0d4f8b;
    border-radius: 8px;
    font-size: 16px;
}

.office-item h4 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.office-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}


/*   MAP */

.map-title {
    padding: 20px 22px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

    .map-title i {
        color: #0d4f8b;
        margin-right: 7px;
    }

.map-container {
    width: 100%;
    height: 420px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }


/* RESPONSIVE */

@media (max-width: 991px) {

    .officer-grid {
        grid-template-columns: 1fr;
    }

    .office-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767px) {

    .registrar-page {
        padding: 25px 15px 50px;
    }

    .registrar-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .registrar-header-left {
        align-items: flex-start;
    }

    .registrar-header h1 {
        font-size: 22px;
    }

    .registrar-header p {
        font-size: 13px;
    }

    .officer-login-btn {
        width: 100%;
        justify-content: center;
    }

    .quick-access {
        grid-template-columns: 1fr;
    }

    .officer-card {
        padding: 18px;
        gap: 15px;
    }

    .officer-photo {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
}


@media (max-width: 480px) {

    .officer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .officer-photo {
        width: 90px;
        height: 90px;
    }
}


