.profile-page {
    padding: 90px 0;
    background: #f7f9fc;
    min-height: 80vh;
}

.profile-header {
    max-width: 720px;
    margin: 0 auto 40px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin-bottom: 15px;
}

.profile-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 10px;
}

.profile-header p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 0;
}

.profile-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 28px;
    border-bottom: 1px solid #edf0f5;
    margin-bottom: 28px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    flex-shrink: 0;
}

.profile-top h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
}

.profile-top p {
    color: #6c757d;
    margin-bottom: 0;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.profile-info-box {
    background: #f8fafc;
    border: 1px solid #eef1f5;
    border-radius: 18px;
    padding: 20px;
}

.profile-info-box span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-info-box h5 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0;
    word-break: break-word;
}

.profile-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.profile-main-btn,
.profile-outline-btn {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.profile-main-btn {
    background: var(--primary);
    color: #ffffff;
}

.profile-main-btn:hover {
    background: var(--secondary);
    color: #ffffff;
}

.profile-outline-btn {
    background: #ffffff;
    color: var(--secondary);
    border: 1px solid #d9dee8;
}

.profile-outline-btn:hover {
    background: var(--secondary);
    color: #ffffff;
}

@media (max-width: 991px) {
    .profile-page {
        padding: 70px 0;
    }

    .profile-header h1 {
        font-size: 34px;
    }

    .profile-card {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .profile-page {
        padding: 55px 0;
    }

    .profile-header h1 {
        font-size: 30px;
    }

    .profile-header p {
        font-size: 15px;
    }

    .profile-top {
        align-items: flex-start;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .profile-top h3 {
        font-size: 22px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 22px;
        border-radius: 20px;
    }

    .profile-header h1 {
        font-size: 26px;
    }

    .profile-info-box {
        padding: 16px;
    }

    .profile-info-box h5 {
        font-size: 16px;
    }
}