.resume-hero {
    min-height: 600px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
}

.mobile-profile {
    display: none;
}

@media (max-width: 991.98px) {
    .desktop-profile {
        display: none !important;
    }

    .mobile-profile {
        display: block;
    }
}
/* end index */

.profile-id {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-alpha-08);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
}
.profile-header-section .progress {
    background-color: var(--gray-light);
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.profile-header-section .progress-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.file-style-dropdown {
    position: relative;
}

.file-style-dropdown select.custom-filter {
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 3px 8px var(--black-alpha-08);
}

.file-style-dropdown .dropdown-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 12px;
}

.file-style-dropdown .files-count {
    position: absolute;
    top: 50%;
    right: 35px;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 12px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 20px var(--black-alpha-08);
    transition: 0.3s;
}

.profile-card:hover {
    transform: translateY(-6px);
}

.profile-img {
    position: relative;
}

.profile-img img {
    width: 100%;
    object-fit: cover;
}

.view-icon {
    position: absolute;
    top: 7px;
    right: 7px;
    background: var(--white);
    padding: 1px 4px;    
    border-radius: 50%;
}

.view-icon i {
    font-size: 16px;
    color: var(--primary);
}

.crown-icon {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}

.crown-icon i {
    font-size: 11px;
    color: var(--white);
}

.overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.profile-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-content h5 {
    margin-bottom: 6px;
}

.profile-content p {
    font-size: 15px;
    color: var(--text-muted);
}

.profile-actions {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.match-pill {
    width: 60px;
    height: 60px;
    position: relative;
}

.match-pill svg {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--gray-stroke);
    stroke-width: 4;
}

.circle {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 4;
    stroke-linecap: round;
}

.match-text {
    position: absolute;
    top: 44%;
    left: 54%;
    transform: translate(-50%, -50%);
    
    display: flex;
    flex-direction: column;   
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 600;
    color: var(--primary-light);
    line-height: 1;
}

.match-text i {
    font-size: 11px;
    margin-bottom: 2px;  
}

.action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: none !important;
    outline: none !important;
}

.action-btn.danger { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); }
.action-btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.action-btn.success { background: linear-gradient(135deg, var(--blue-dark), var(--blue-darker)); }

.circular-progress-container {
    display: none;
}
@media (min-width: 360px) and (max-width: 991px) {
    .circular-progress-container {
        display: block !important;
        position: absolute;
        top: 1px;
        left: 1px;
        width: 30px;
        height: 30px;
        background: var(--white-alpha-85);
        border-radius: 50%;
        padding: 2px;
        z-index: 5;
        box-shadow: 0 2px 5px var(--black-alpha-08);
    }

    .circular-chart {
        display: block;
        width: 100%;
        height: 100%;
    }

    .circle-bg {
        fill: none;
        stroke: var(--gray-stroke-light);
        stroke-width: 3.5;
    }

    .circle {
        fill: none;
        stroke: var(--primary-light);
        stroke-width: 3.5;
        stroke-linecap: round;
    }

    .percentage {
        fill: var(--primary);
        font-size: 10px;
        font-weight: 800;
        text-anchor: middle;
    }
    .crown-icon{
        display: none;
    }

}

@media (min-width: 360px) and (max-width: 575px) {
    .match-pill { display: none; }

    .action-btn {
        width: 34px;
        height: 34px;
    }

    .profile-content p {
        font-size: 12px;
    }



}
@media (min-width: 360px) and (max-width: 420px) {
    .overlay {
        bottom: 6px;      
        left: 6px;       
        display: block;  
    }
    .overlay .badge {
        font-size: 9px;   
        padding: 4px 4px;
    }

}

@media (min-width: 576px) and (max-width: 991px) {

    .crown-icon { display: none; }
    .match-pill { display: none; }

    .action-btn {
        width: 38px;
        height: 38px;
    }

    .circular-progress-container {
        display: block !important;
        position: absolute;
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        background: var(--white-alpha-90);
        border-radius: 50%;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    .profile-actions {
        gap: 4px;
        background: var(--bg-light);
        border-radius: 10px;
        padding: 4px;
    }

    .overlay { bottom: 8px; left: 8px; }

    .overlay .badge { font-size: 8px; }

    .match-pill {
        margin-top: 8px;
        width: 42px;
        height: 47px;
    }

    .match-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 9px;
        top: 40%;
        left: 53%;
    }

    /* .match-text i {
        display: none;
    } */

    .action-btn {
        width: 40px;
        height: 40px;
    }
    .action-btn i{
        font-size: 18px;    
    }

    .profile-content h5 {
        font-size: 16px;         
    }
    .profile-content p {
        font-size: 15px;         
    }
    .view-icon {
        top: 4px;
        right: 7px;

        width: 26px;
        height: 26px;
        padding: 2;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        background: var(--white-alpha-90);
        box-shadow: 0 2px 6px var(--black-alpha-18);
        backdrop-filter: blur(4px);
    }

    .view-icon i {
        font-size: 12px;
        color: var(--primary);
    }

    .crown-icon {
        top: 4px;
        left: 6px;

        width: 25px;
        height: 25px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        box-shadow: 0 2px 6px var(--black-alpha-18);
    }

    .crown-icon i {
        font-size: 11px;
    }

}

@media (min-width: 1200px)  and (max-width: 1399px) {
    .match-pill {
        margin-top: 8px;
    }
    .match-text {
        top: 31%;
        left: 53%;
    }
    .overlay {
        bottom: 10px;
        left: 10px;
        display: flex;
    }

    .overlay .badge {
        font-size: 10px;
    }

    .overlay .badge i {
        font-size: 10px;
    }

}

.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px var(--black-alpha-18);
    letter-spacing: 0.3px;
}

.btn-horoscope {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.btn-idproof {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.custom-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--black-alpha-28);
    color: var(--white);
}

.custom-btn i {
    font-size: 16px;
}

@media (min-width: 991px) and (max-width: 1200px) {
    .custom-btn {
        font-size: 11px;
        padding: 9px 18px;
        gap: 8px;
    }

    .custom-btn i {
        font-size: 14px;
    }
}

@media (min-width: 1201px) and (max-width: 1399px) {
    .profile-actions {
        gap: 6px;
        padding: 6px;
        border-radius: 12px;
        background: var(--bg-light);
        justify-content: space-between;
        align-items: center;
    }

    .match-pill {
        width: 50px;
        height: 50px;
    }

    .match-text {
        font-size: 8px;
        top: 38%;
        left: 52%;
    }

    .action-btn {
        width: 35px;
        height: 35px;
    }

    .action-btn i {
        font-size: 14px;
    }
}


.photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-overlay i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    color: var(--white);

    background: var(--white-alpha-18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.photo-overlay.upgrade i {
    color: var(--gold);
}

.photo-overlay.lock i {
    color: var(--white);
}

@media (max-width:575px) {
    .photo-overlay i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.badge-custom {
    background-color: var(--primary-light);
    color: var(--white);
}

.profile-action-match {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.profile-action-match button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .3s ease;
}

.profile-action-match .match-profile-btn {
    border: none;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 5px 15px var(--primary-alpha-30), 
                inset 0 1px 2px var(--white-alpha-25);
}

.profile-action-match .unmatch-profile-btn {
    border: none;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-darker));
    color: var(--white);
    box-shadow: 0 5px 15px var(--black-alpha-20),
                inset 0 1px 2px var(--white-alpha-25);
}

.profile-action-match .unmatch-profile-btn:hover {
    background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
    transform: translateY(-2px);
}
.profile-action-match .match-profile-btn i,
.profile-action-match .unmatch-profile-btn i {
    transition: .3s ease;
}

.profile-action-match .match-profile-btn:hover i,
.profile-action-match .unmatch-profile-btn:hover i {
    transform: scale(1.15);
}

.profile-action-match .match-profile-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-action-match {
        gap: 10px;
    }
    .profile-action-match button {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .profile-action-match {
        gap: 8px;
        margin-top: 10px;
    }
    .profile-action-match button {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 8px;
    }
    .profile-action-match button i {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .profile-action-match {
        gap: 6px;
        margin-top: 8px;
    }
    .profile-action-match button {
        padding: 6px 10px;
        font-size: 10px;
        border-radius: 7px;
        gap: 4px;
    }
    .profile-action-match button i {
        font-size: 11px;
    }
}
