/* =========================================================
   COMPANY PROFILE
========================================================= */

.company-profile-page {
    padding: 4px 0 40px;
}


/* =========================================================
   HERO
========================================================= */

.profile-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(66, 153, 225, .22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #071a36 0%,
            #0b2d5c 55%,
            #123f78 100%
        );
    box-shadow: 0 12px 30px rgba(7, 26, 54, .16);
}

.profile-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -80px;
    bottom: -150px;
    border: 1px solid rgba(255,255,255,.10);
}

.profile-hero::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    right: 120px;
    top: -100px;
    border: 1px solid rgba(255,255,255,.08);
}

.profile-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 22px;

    padding: 28px 30px;
}


/* =========================================================
   AVATAR
========================================================= */

.profile-avatar {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.25);

    color: #fff;
    font-size: 31px;
    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.12);

    backdrop-filter: blur(10px);
}


/* =========================================================
   HERO INFO
========================================================= */

.profile-hero-info {
    min-width: 0;
    flex: 1;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 7px;
    padding: 5px 10px;

    border-radius: 999px;

    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.13);

    color: #dbeafe;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55e6a5;
    box-shadow: 0 0 0 4px rgba(85,230,165,.10);
}

.profile-hero-info h1 {
    margin: 0 0 6px;

    color: #fff;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
}

.profile-hero-info p {
    margin: 0;

    color: #bcd0ea;
    font-size: 13px;
    line-height: 1.6;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 13px;

    color: #d9e7f8;
    font-size: 12px;
}

.profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    color: #82b7f4;
}


/* =========================================================
   EDIT BUTTON
========================================================= */

.profile-hero-action {
    flex-shrink: 0;
}

.profile-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 17px;

    border-radius: 10px;

    background: #fff;
    color: #0b2d5c;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 7px 20px rgba(0,0,0,.12);

    transition: .2s ease;
}

.profile-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 25px rgba(0,0,0,.18);
}


/* =========================================================
   STATS
========================================================= */

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    margin-bottom: 22px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 112px;
    padding: 18px;

    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(14, 43, 78, .05);

    transition: .2s ease;
}

.profile-stat-card:hover {
    transform: translateY(-2px);
    border-color: #d8e4f2;
    box-shadow: 0 10px 25px rgba(14, 43, 78, .08);
}

.stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 19px;
    font-weight: 800;
}

.stat-icon.blue {
    background: #eaf3ff;
    color: #1769d3;
}

.stat-icon.purple {
    background: #f1edff;
    color: #7257d9;
}

.stat-icon.green {
    background: #e9f9f1;
    color: #1b9b68;
}

.stat-icon.orange {
    background: #fff4e8;
    color: #d87b16;
}

.stat-content {
    min-width: 0;
}

.stat-content span {
    display: block;

    color: #718096;
    font-size: 11px;
    font-weight: 600;
}

.stat-content strong {
    display: block;

    margin-top: 2px;

    color: #102d4f;
    font-size: 23px;
    font-weight: 800;
}

.stat-content small {
    display: block;

    margin-top: 1px;

    color: #9aa8b8;
    font-size: 10px;
}


/* =========================================================
   MAIN GRID
========================================================= */

.profile-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
    gap: 20px;
    align-items: start;
}

.profile-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}



/* =========================================================
   CARD
========================================================= */

.profile-card {
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 18px;

    box-shadow: 0 5px 18px rgba(14, 43, 78, .05);
}

.company-information {
    padding: 25px;
}

.profile-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding-bottom: 20px;
    margin-bottom: 3px;

    border-bottom: 1px solid #edf1f6;
}

.section-kicker {
    display: block;

    margin-bottom: 5px;

    color: #3977bb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.profile-card-header h2,
.completeness-card h2 {
    margin: 0;

    color: #102d4f;
    font-size: 18px;
    font-weight: 800;
}

.profile-card-header p {
    margin: 5px 0 0;

    color: #8997a8;
    font-size: 12px;
}

.card-header-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #edf5ff;
    color: #1769d3;

    font-size: 16px;
}


/* =========================================================
   INFORMATION
========================================================= */

.information-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 22px;
}

.information-item {
    padding: 17px 0;
    border-bottom: 1px solid #edf1f6;
}

.information-item.full {
    grid-column: 1 / -1;
}

.information-label {
    display: block;

    margin-bottom: 7px;

    color: #8a98a9;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.information-value {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 24px;

    color: #263f5c;
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
}

.information-value.address {
    align-items: flex-start;
    line-height: 1.6;
}

.information-value a {
    color: #1769d3;
    text-decoration: none;
}

.information-value a:hover {
    text-decoration: underline;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    border-radius: 7px;

    background: #f2f6fb;
    color: #52769e;

    font-size: 11px;
}


/* =========================================================
   COMPLETENESS
========================================================= */

.completeness-card {
    padding: 22px;
}

.completeness-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.percentage-circle {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf5ff;
    border: 5px solid #dcecff;

    color: #1769d3;
}

.percentage-circle strong {
    font-size: 12px;
}

.progress-container {
    margin-top: 19px;
}

.progress-bar {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 999px;
    background: #edf1f5;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;

    background: #1769d3;
}

.progress-fill.complete {
    background: #20a36a;
}

.progress-fill.warning {
    background: #e39a2e;
}

.progress-fill.danger {
    background: #df6262;
}

.completion-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 18px;
    padding: 12px;

    border-radius: 11px;
}

.completion-status.complete {
    background: #edf9f3;
}

.completion-status.warning {
    background: #fff7e9;
}

.completion-status.danger {
    background: #fff0f0;
}

.status-check {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.7);

    font-size: 11px;
    font-weight: 800;
}

.completion-status strong {
    display: block;

    color: #243b55;
    font-size: 12px;
}

.completion-status p {
    margin: 3px 0 0;

    color: #718096;
    font-size: 10px;
    line-height: 1.5;
}

.complete-profile-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 15px;
    padding: 11px 13px;

    border-radius: 10px;

    background: #0b2d5c;
    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: .2s ease;
}

.complete-profile-btn:hover {
    background: #124477;
    transform: translateY(-1px);
}


/* =========================================================
   SECURITY
========================================================= */

.security-card {
    position: relative;
    overflow: hidden;

    padding: 20px;
}

.security-card::after {
    content: "";
    position: absolute;

    width: 100px;
    height: 100px;

    right: -40px;
    bottom: -50px;

    border-radius: 50%;

    background: #eef7ff;
}

.security-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 11px;

    background: #edf7f2;
    color: #1a9965;

    font-size: 17px;
}

.security-content {
    position: relative;
    z-index: 2;
}

.security-content h3 {
    margin: 0;

    color: #203b59;
    font-size: 14px;
}

.security-content p {
    margin: 6px 0 0;

    color: #8493a5;
    font-size: 11px;
    line-height: 1.6;
}

.security-status {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 14px;

    color: #1a9965;
    font-size: 10px;
    font-weight: 700;
}

.security-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #20b778;
}


/* =========================================================
   HELP
========================================================= */

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 18px;
    background: linear-gradient(135deg, #f7faff, #eef5fd);
}

.help-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #dcecff;
    color: #1769d3;

    font-size: 14px;
    font-weight: 800;
}

.help-card h3 {
    margin: 0;

    color: #24415f;
    font-size: 12px;
}

.help-card p {
    margin: 4px 0 0;

    color: #7b8da1;
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   BOTTOM
========================================================= */

.profile-bottom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 22px;
    padding: 22px 26px;

    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #f1f7ff,
        #f8fbff
    );

    border: 1px solid #dce9f7;
    box-shadow: 0 5px 18px rgba(14, 43, 78, .04);
}

.bottom-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #0b2d5c;
    color: #fff;

    font-size: 18px;
}

.bottom-content {
    flex: 1;
    min-width: 0;
}

.bottom-content strong {
    display: block;

    color: #183754;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.bottom-content p {
    margin: 4px 0 0;

    color: #7c8ea2;
    font-size: 11px;
    line-height: 1.5;
}

.bottom-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 18px;

    border-radius: 10px;

    background: #0b2d5c;
    border: 1px solid #0b2d5c;

    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 750;

    white-space: nowrap;
    flex-shrink: 0;

    transition: .2s ease;
}

.bottom-action:hover {
    background: #1769d3;
    border-color: #1769d3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 105, 211, .25);
}



/* =========================================================
   ERROR
========================================================= */

.profile-error {
    padding: 50px 20px;
    text-align: center;

    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 18px;
}

.profile-error-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #fff0f0;
    color: #d95353;

    font-weight: 800;
}

.profile-error h3 {
    margin: 0;

    color: #233d5b;
    font-size: 17px;
}

.profile-error p {
    margin: 7px 0 0;

    color: #8997a8;
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .profile-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-main-grid {
        grid-template-columns: 1fr;
    }

    .profile-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .completeness-card {
        grid-row: span 2;
    }

}


@media (max-width: 760px) {

    .profile-hero-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 23px;
    }

    .profile-avatar {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
        border-radius: 18px;
        font-size: 24px;
    }

    .profile-hero-info h1 {
        font-size: 22px;
    }

    .profile-hero-action {
        width: 100%;
    }

    .profile-edit-btn {
        justify-content: center;
        width: 100%;
    }

    .profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .profile-side {
        display: flex;
    }

    .information-grid {
        grid-template-columns: 1fr;
    }

    .information-item.full {
        grid-column: auto;
    }

    .profile-bottom-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .bottom-action {
        width: 100%;
        justify-content: center;
    }

}


@media (max-width: 480px) {

    .company-information {
        padding: 19px;
    }

    .profile-hero {
        border-radius: 15px;
    }

    .profile-stat-card {
        min-height: 95px;
    }

    .profile-card-header {
        gap: 10px;
    }

}/* =========================================================
   PROFILE - EXTRA DATA
========================================================= */

.empty-value {
    color: #a4afbb;
    font-weight: 500;
    font-style: italic;
}


/* =========================================================
   STATUS BADGE
========================================================= */

.profile-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;
}

.profile-status-badge > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.profile-status-badge.active {
    background: #e9f8f0;
    color: #20845b;
}

.profile-status-badge.active > span {
    background: #24a66d;
}

.profile-status-badge.pending {
    background: #fff6e7;
    color: #b8791c;
}

.profile-status-badge.pending > span {
    background: #e0a039;
}

.profile-status-badge.inactive {
    background: #fff0f0;
    color: #c45454;
}

.profile-status-badge.inactive > span {
    background: #dc6262;
}


/* =========================================================
   PIC CARD
========================================================= */

.pic-card {
    padding: 21px;
}

.side-card-header {
    display: flex;
    align-items: center;
    gap: 11px;

    padding-bottom: 16px;

    border-bottom: 1px solid #edf1f6;
}

.side-card-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 15px;
}

.side-card-icon.blue {
    background: #edf5ff;
    color: #1769d3;
}

.side-card-header h3 {
    margin: 0;

    color: #203b59;
    font-size: 14px;
    font-weight: 800;
}

.pic-profile {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 17px 0;
}

.pic-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #0b2d5c,
        #2677b9
    );

    color: #fff;

    font-size: 16px;
    font-weight: 800;
}

.pic-profile strong {
    display: block;

    color: #203b59;
    font-size: 12px;

    word-break: break-word;
}

.pic-profile small {
    display: block;

    margin-top: 3px;

    color: #8b99a8;
    font-size: 9px;
}

.pic-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pic-contact-item {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px;

    border-radius: 9px;

    background: #f7faff;
}

.pic-contact-item > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #e8f2ff;
    color: #1769d3;

    font-size: 10px;
}

.pic-contact-item small {
    display: block;

    color: #8998a8;
    font-size: 8px;
}

.pic-contact-item strong {
    display: block;

    margin-top: 2px;

    color: #405a75;
    font-size: 10px;

    word-break: break-word;
}


/* =========================================================
   ACCOUNT STATUS
========================================================= */

.security-status.active {
    color: #20845b;
}

.security-status.pending {
    color: #b8791c;
}

.security-status.inactive {
    color: #c45454;
}

.security-status.active .security-dot {
    background: #24a66d;
}

.security-status.pending .security-dot {
    background: #e0a039;
}

.security-status.inactive .security-dot {
    background: #dc6262;
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.profile-quick-actions {
    margin-top: 20px;
    padding: 22px;

    background: #fff;

    border: 1px solid #e5edf6;
    border-radius: 18px;

    box-shadow: 0 5px 18px rgba(14, 43, 78, .05);
}

.quick-actions-header {
    margin-bottom: 16px;
}

.quick-actions-header h2 {
    margin: 0;

    color: #102d4f;
    font-size: 17px;
    font-weight: 800;
}

.quick-actions-header p {
    margin: 4px 0 0;

    color: #8997a8;
    font-size: 11px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;

    padding: 14px;

    background: #f9fbfe;

    border: 1px solid #e8eef5;
    border-radius: 13px;

    text-decoration: none;

    transition: .2s ease;
}

.quick-action-card:hover {
    background: #fff;

    border-color: #cbdced;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(14, 43, 78, .07);
}

.quick-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;
}

.quick-action-icon.blue {
    background: #eaf3ff;
    color: #1769d3;
}

.quick-action-icon.purple {
    background: #f1edff;
    color: #7257d9;
}

.quick-action-icon.green {
    background: #e9f9f1;
    color: #1b9b68;
}

.quick-action-icon.orange {
    background: #fff4e8;
    color: #d87b16;
}

.quick-action-content {
    min-width: 0;
    flex: 1;
}

.quick-action-content strong {
    display: block;

    color: #24415f;

    font-size: 11px;
    font-weight: 800;
}

.quick-action-content span {
    display: block;

    margin-top: 3px;

    color: #8997a8;

    font-size: 9px;
    line-height: 1.4;
}

.quick-action-arrow {
    color: #9aaabd;

    font-size: 14px;

    transition: .2s ease;
}

.quick-action-card:hover .quick-action-arrow {
    color: #1769d3;
    transform: translateX(2px);
}


/* =========================================================
   PROFILE MAIN BALANCE
========================================================= */

.profile-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
    gap: 20px;
    align-items: start;
}

.profile-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-main-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 760px) {

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .profile-quick-actions {
        padding: 18px;
    }

}


@media (max-width: 500px) {

    .quick-action-card {
        padding: 12px;
    }

}