﻿.amer-profile-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 14px 60px;
    color: #1f2328;
}


/* =============================================
   TOP PROFILE
============================================= */

.linkedin-profile-card,
.profile-section-card,
.profile-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    overflow: hidden;
}


.linkedin-profile-card {
    margin-bottom: 18px;
}


.profile-cover {
    height: 225px;
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 18% 30%, rgba(84, 116, 255, .55), transparent 27% ), radial-gradient( circle at 72% 25%, rgba(45, 203, 167, .28), transparent 25% ), linear-gradient( 120deg, #0b1830, #172d58 54%, #0c1d39 );
}


.profile-cover-brand {
    position: absolute;
    left: 40px;
    bottom: 20px;
    color: rgba(255, 255, 255, .07);
    font-size: 88px;
    font-weight: 950;
    letter-spacing: 8px;
}


.profile-cover-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255,255,255,.025) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.025) 1px, transparent 1px );
    background-size: 34px 34px;
}


.profile-main-content {
    position: relative;
    padding: 0 28px 26px;
}


.profile-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-top: -82px;
}


.profile-avatar {
    width: 164px;
    height: 164px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    background: linear-gradient( 135deg, #506df5, #7655dc );
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
}


    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .profile-avatar > span {
        color: #ffffff;
        font-size: 64px;
        font-weight: 900;
    }


.profile-online-dot {
    position: absolute;
    left: 16px;
    bottom: 17px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #19a86b;
    border: 4px solid #fff;
}


.profile-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
}


.profile-identity {
    padding-top: 10px;
}


    .profile-identity h1 {
        margin: 0;
        color: #191b1f;
        font-size: 29px;
        font-weight: 800;
    }


.profile-headline {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
    color: #32363b;
    font-size: 15px;
}


.profile-status {
    margin-top: 10px;
    color: #4c5461;
    font-size: 14px;
}


.profile-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 9px;
    color: #6c737c;
    font-size: 12px;
}


    .profile-meta a {
        color: #0a66c2;
        text-decoration: none;
        font-weight: 700;
    }


.profile-company-line {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px;
}


.profile-company-logo,
.company-mini-logo {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient( 135deg, #3253c9, #172d6c );
}


.profile-company-line strong,
.profile-company-line span {
    display: block;
}


.profile-company-line strong {
    font-size: 12px;
}


.profile-company-line span {
    color: #777f8c;
    font-size: 11px;
    margin-top: 2px;
}


.profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}


.profile-btn {
    min-height: 36px;
    padding: 7px 17px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}


.profile-btn-primary {
    background: #0a66c2;
    color: #fff;
}


    .profile-btn-primary:hover {
        background: #004182;
        color: #fff;
    }


.profile-btn-outline {
    color: #0a66c2;
    background: #fff;
    border: 1px solid #0a66c2;
}


.profile-btn-light {
    color: #535b65;
    background: #fff;
    border: 1px solid #8c9299;
}


.profile-company-side {
    padding-top: 17px;
}


.company-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}


    .company-mini strong,
    .company-mini span {
        display: block;
    }


    .company-mini strong {
        font-size: 12px;
    }


    .company-mini span {
        color: #747b85;
        font-size: 10px;
        margin-top: 2px;
    }



/* =============================================
   PAGE COLUMNS
============================================= */

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}


.profile-section-card {
    padding: 24px 25px;
    margin-bottom: 18px;
}


.profile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}


    .profile-section-head h2 {
        margin: 0;
        font-size: 19px;
        font-weight: 800;
    }


.profile-section-subtitle {
    display: block;
    margin-top: 3px;
    color: #767d86;
    font-size: 11px;
}


.profile-edit-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #555d66;
    font-size: 20px;
    text-decoration: none;
}


    .profile-edit-icon:hover {
        background: #eef0f2;
    }


.profile-about-text {
    margin: 0;
    color: #343940;
    line-height: 2;
    font-size: 13px;
    white-space: pre-line;
}


.profile-empty-state {
    padding: 17px 0;
    color: #858c95;
    font-size: 12px;
}



/* =============================================
   ACTIVITY
============================================= */

.profile-activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}


.activity-card {
    padding: 17px 12px;
    border-radius: 11px;
    border: 1px solid #e5e8ec;
    background: #fafbfc;
}


.activity-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 9px;
    background: #e9f2ff;
    color: #0a66c2;
    font-size: 18px;
}


.activity-card strong,
.activity-card span {
    display: block;
}


.activity-card strong {
    font-size: 23px;
    color: #202428;
}


.activity-card span {
    margin-top: 3px;
    color: #727982;
    font-size: 10px;
}



/* =============================================
   EXPERIENCE
============================================= */

.profile-experience {
    display: flex;
    gap: 15px;
}


.experience-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    background: linear-gradient( 135deg, #3151c8, #142a67 );
}


.experience-content h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}


.experience-company {
    margin-top: 3px;
    font-size: 12px;
}


.experience-meta,
.experience-location {
    margin-top: 3px;
    color: #737a83;
    font-size: 11px;
}


.experience-description {
    margin-top: 13px;
    line-height: 1.8;
    color: #4f565e;
    font-size: 12px;
}



/* =============================================
   SKILLS
============================================= */

.linkedin-skills {
    display: grid;
}


.linkedin-skill {
    padding: 15px 0;
    border-bottom: 1px solid #ebedf0;
}


    .linkedin-skill:last-child {
        border-bottom: 0;
    }


    .linkedin-skill strong,
    .linkedin-skill span {
        display: block;
    }


    .linkedin-skill strong {
        font-size: 13px;
    }


    .linkedin-skill span {
        margin-top: 5px;
        color: #747b84;
        font-size: 10px;
    }



/* =============================================
   SIDEBAR
============================================= */

.profile-sidebar-card {
    padding: 20px;
    margin-bottom: 18px;
}


    .profile-sidebar-card h3 {
        margin: 0 0 17px;
        font-size: 16px;
        font-weight: 800;
    }


.profile-info-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #eceef1;
}


    .profile-info-list > div:last-child {
        border-bottom: 0;
    }


.profile-info-list span {
    color: #777f88;
    font-size: 10px;
}


.profile-info-list strong {
    max-width: 170px;
    text-align: left;
    font-size: 10px;
}


.employee-active {
    color: #15965f;
}


.employee-inactive {
    color: #d74955;
}


.profile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #eceef1;
}


    .profile-contact-item:last-child {
        border-bottom: 0;
    }


    .profile-contact-item > span {
        font-size: 20px;
    }


    .profile-contact-item small,
    .profile-contact-item strong {
        display: block;
    }


    .profile-contact-item small {
        color: #777e88;
        font-size: 9px;
    }


    .profile-contact-item strong {
        margin-top: 3px;
        font-size: 11px;
    }


.profile-coming-card {
    text-align: center;
    background: linear-gradient( 145deg, #ffffff, #f7f9ff );
}


.coming-icon {
    font-size: 31px;
    margin-bottom: 9px;
}


.profile-coming-card > strong {
    font-size: 14px;
}


.profile-coming-card p {
    margin: 8px 0 0;
    color: #747c87;
    line-height: 1.7;
    font-size: 10px;
}



/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 991px) {

    .profile-main-grid {
        grid-template-columns: 1fr;
    }


    .profile-company-side {
        display: none;
    }


    .profile-layout {
        grid-template-columns: 1fr;
    }


    .profile-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 576px) {

    .amer-profile-page {
        padding: 0 0 80px;
    }


    .linkedin-profile-card,
    .profile-section-card,
    .profile-sidebar-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }


    .profile-cover {
        height: 145px;
    }


    .profile-cover-brand {
        font-size: 55px;
    }


    .profile-main-content {
        padding: 0 17px 20px;
    }


    .profile-avatar-wrap {
        margin-top: -56px;
    }


    .profile-avatar {
        width: 112px;
        height: 112px;
        border-width: 4px;
    }


        .profile-avatar > span {
            font-size: 42px;
        }


    .profile-online-dot {
        width: 19px;
        height: 19px;
        left: 10px;
        bottom: 11px;
    }


    .profile-identity h1 {
        font-size: 23px;
    }


    .profile-headline {
        font-size: 13px;
    }


    .profile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    .profile-btn {
        text-align: center;
    }


    .profile-section-card {
        padding: 20px 17px;
        margin-bottom: 8px;
    }


    .profile-sidebar-card {
        margin-bottom: 8px;
    }


    .profile-activity-grid {
        gap: 7px;
    }
}
